alexkappa/mustache

View on GitHub
lex.go

Summary

Maintainability
A
35 mins
Test Coverage

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

func stateTag(l *lexer) stateFn {
    if strings.HasPrefix(l.input[l.pos:], "}"+l.rightDelim) {
        l.seek(1)
        l.emit(tokenRawEnd)
        return stateRightDelim
Severity: Major
Found in lex.go - About 35 mins to fix

    There are no issues that match your filters.

    Category
    Status