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

Function init

stores/publish/store.go:31–48  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

29)
30
31func init() {
32 autowire.Auto[IPublishStore](func() reflect.Value {
33 return reflect.ValueOf(new(store.Store[Publish]))
34 })
35
36 autowire.Auto[IDiffStore](func() reflect.Value {
37 return reflect.ValueOf(new(store.Store[Diff]))
38 })
39
40 autowire.Auto[IPublishLatestStore](func() reflect.Value {
41 return reflect.ValueOf(new(store.Store[Latest]))
42 })
43
44 autowire.Auto[IPublishStatusStore](func() reflect.Value {
45 return reflect.ValueOf(new(store.Store[Status]))
46 })
47
48}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected