Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DoNewsCode/core
/ provideDefaultClient
Function
provideDefaultClient
otmongo/dependency.go:94–96 ·
view source on GitHub ↗
(maker Maker)
Source
from the content-addressed store, hash-verified
92
}
93
94
func
provideDefaultClient(maker Maker) (*mongo.Client, error) {
95
return
maker.Make(
"default"
)
96
}
97
98
type
configOut
struct
{
99
di.Out
Callers
nothing calls this directly
Calls
1
Make
Method · 0.65
Tested by
no test coverage detected