ReanGD/go-web-search

View on GitHub
dict/token_reader.go

Summary

Maintainability
A
45 mins
Test Coverage

Method tokenRead.nextToken has 7 return statements (exceeds 4 allowed).
Open

func (t *tokenRead) nextToken() (*token, error) {
    if !t.scanner.Scan() {
        return &token{ttype: tokenEnd}, nil
    }

Severity: Major
Found in dict/token_reader.go - About 45 mins to fix

    There are no issues that match your filters.

    Category
    Status