aergoio/aergo

View on GitHub
cmd/brick/exec/search.go

Summary

Maintainability
A
40 mins
Test Coverage

Function search has 6 return statements (exceeds 4 allowed).
Open

func search(cmd string, chunks []context.Chunk, current int, symbol string) map[string]string {
    if keywords, ok := index[symbol]; ok {
        return keywords
    }

Severity: Major
Found in cmd/brick/exec/search.go - About 40 mins to fix

    There are no issues that match your filters.

    Category
    Status