bnkamalesh/goapp

View on GitHub
internal/pkg/apm/apm.go

Summary

Maintainability
A
35 mins
Test Coverage

Method APM.Shutdown has 5 return statements (exceeds 4 allowed).
Open

func (s *APM) Shutdown(ctx context.Context) error {
    ctx, cancel := context.WithTimeout(ctx, shutdownTimeout)
    defer cancel()

    g := errgroup.Group{}
Severity: Major
Found in internal/pkg/apm/apm.go - About 35 mins to fix

    There are no issues that match your filters.

    Category
    Status