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

Function init

module/catalogue/catalogue.go:41–50  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

39}
40
41func init() {
42 catalogueModule := new(imlCatalogueModule)
43 autowire.Auto[ICatalogueModule](func() reflect.Value {
44 return reflect.ValueOf(catalogueModule)
45 })
46
47 autowire.Auto[IExportCatalogueModule](func() reflect.Value {
48 return reflect.ValueOf(catalogueModule)
49 })
50}
51
52func formatTimeByMinute(org int64) time.Time {
53 t := time.Unix(org, 0)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected