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

Function InitCommitService

service/universally/commit/service.go:37–44  ·  view source on GitHub ↗
(name string)

Source from the content-addressed store, hash-verified

35}
36
37func InitCommitService[T any](name string) {
38 autowire.Auto[commit.ICommitStore[T]](func() reflect.Value {
39 return reflect.ValueOf(commit.NewCommitStore[T](name))
40 })
41 autowire.Auto[ICommitService[T]](func() reflect.Value {
42 return reflect.ValueOf(&imlCommitService[T]{})
43 })
44}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected