(name string)
| 35 | } |
| 36 | |
| 37 | func 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 | } |
nothing calls this directly
no outgoing calls
no test coverage detected