gokultp/go-tprof

View on GitHub
internal/staticserver/server.go

Summary

Maintainability
A
35 mins
Test Coverage

Function Start has 5 return statements (exceeds 4 allowed).
Open

func Start(data, port string, wg *sync.WaitGroup) error {
    defer wg.Done()
    statikFS, err := fs.New()
    if err != nil {
        return err
Severity: Major
Found in internal/staticserver/server.go - About 35 mins to fix

    There are no issues that match your filters.

    Category
    Status