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

Function init

module/subscribe/subscribe.go:55–75  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

53}
54
55func init() {
56 subscribeModule := new(imlSubscribeModule)
57 autowire.Auto[ISubscribeModule](func() reflect.Value {
58
59 gateway.RegisterInitHandleFunc(subscribeModule.initGateway)
60 return reflect.ValueOf(subscribeModule)
61 })
62
63 autowire.Auto[IExportSubscribeModule](func() reflect.Value {
64 return reflect.ValueOf(subscribeModule)
65 })
66
67 applyModule := new(imlSubscribeApprovalModule)
68 autowire.Auto[ISubscribeApprovalModule](func() reflect.Value {
69 return reflect.ValueOf(applyModule)
70 })
71
72 autowire.Auto[IExportSubscribeApprovalModule](func() reflect.Value {
73 return reflect.ValueOf(applyModule)
74 })
75}

Callers

nothing calls this directly

Calls 1

RegisterInitHandleFuncFunction · 0.92

Tested by

no test coverage detected