grokify/mogo

View on GitHub
encoding/csvutil/write.go

Summary

Maintainability
A
35 mins
Test Coverage

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

func WriteCSVFiltered(reader *csv.Reader, writer *csv.Writer, andFilter map[string]stringsutil.MatchInfo, writeHeader bool) error {
    csvHeader := CSVHeader{}
    i := -1
    for {
        line, err := reader.Read()
Severity: Major
Found in encoding/csvutil/write.go - About 35 mins to fix

    There are no issues that match your filters.

    Category
    Status