jirfag/go-queryset

View on GitHub
internal/parser/parser.go

Summary

Maintainability
A
35 mins
Test Coverage

Method Structs.ParseFile has 5 return statements (exceeds 4 allowed).
Open

func (p Structs) ParseFile(ctx context.Context, filePath string) (*Result, error) {
    absFilePath, err := filepath.Abs(filePath)
    if err != nil {
        return nil, errors.Wrapf(err, "can't get abs path for %s", filePath)
    }
Severity: Major
Found in internal/parser/parser.go - About 35 mins to fix

    There are no issues that match your filters.

    Category
    Status