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

Function init

stores/api/api.go:42–63  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

40}
41
42func init() {
43
44 autowire.Auto[IApiBaseStore](func() reflect.Value {
45 return reflect.ValueOf(new(imlApiBaseStore))
46 })
47
48 autowire.Auto[IAPIInfoStore](func() reflect.Value {
49 return reflect.ValueOf(new(store.Store[Info]))
50 })
51
52 autowire.Auto[IAPIDocStore](func() reflect.Value {
53 return reflect.ValueOf(new(imlAPIDocStore))
54 })
55
56 autowire.Auto[IAiAPIInfoStore](func() reflect.Value {
57 return reflect.ValueOf(new(imlAiAPIInfoStore))
58 })
59
60 autowire.Auto[IAiAPIUseStore](func() reflect.Value {
61 return reflect.ValueOf(new(imlAiAPIUseStore))
62 })
63}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected