MCPcopy Index your code
hub / github.com/APIParkLab/APIPark / init

Function init

module/ai/module.go:32–42  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

30}
31
32func init() {
33 autowire.Auto[IProviderModule](func() reflect.Value {
34 module := new(imlProviderModule)
35 gateway.RegisterInitHandleFunc(module.initGateway)
36 return reflect.ValueOf(module)
37 })
38
39 autowire.Auto[IAIAPIModule](func() reflect.Value {
40 return reflect.ValueOf(new(imlAIApiModule))
41 })
42}

Callers

nothing calls this directly

Calls 1

RegisterInitHandleFuncFunction · 0.92

Tested by

no test coverage detected