examples/benchperf/internal/DiSamber.go
Function BuildContainerDo
has 12 return statements (exceeds 4 allowed). Open
Open
func BuildContainerDo() do.Injector {
injector := do.New()
do.ProvideTransient(injector, func(inj do.Injector) (*A, error) {
return NewA(do.MustInvoke[*B](inj), do.MustInvoke[*C](inj)), nil
})