firasdarwish/ore

View on GitHub
examples/benchperf/internal/DiSamber.go

Summary

Maintainability
A
1 hr
Test Coverage

Function BuildContainerDo has 12 return statements (exceeds 4 allowed).
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
    })
Severity: Major
Found in examples/benchperf/internal/DiSamber.go - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status