MCPcopy 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
94func provideDefaultClient(maker Maker) (*mongo.Client, error) {
95 return maker.Make("default")
96}
97
98type configOut struct {
99 di.Out

Callers

nothing calls this directly

Calls 1

MakeMethod · 0.65

Tested by

no test coverage detected