MCPcopy Create free account
hub / github.com/APIParkLab/APIPark / init

Function init

module/upstream/upstream.go:23–32  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

21}
22
23func init() {
24 upstreamModule := new(imlUpstreamModule)
25 autowire.Auto[IUpstreamModule](func() reflect.Value {
26 return reflect.ValueOf(upstreamModule)
27 })
28
29 autowire.Auto[IExportUpstreamModule](func() reflect.Value {
30 return reflect.ValueOf(upstreamModule)
31 })
32}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected