lflux/eve-sdeloader

View on GitHub
groups/import.go

Summary

Maintainability
A
50 mins
Test Coverage

Function Import has 8 return statements (exceeds 4 allowed).
Open

func Import(db *sql.DB, r io.Reader) error {
    defer utils.TimeTrack(time.Now(), "groups")

    entries := make(map[string]*Group)
    err := utils.LoadFromReader(r, entries)
Severity: Major
Found in groups/import.go - About 50 mins to fix

    exported function Import should have comment or be unexported
    Open

    func Import(db *sql.DB, r io.Reader) error {
    Severity: Minor
    Found in groups/import.go by golint

    There are no issues that match your filters.

    Category
    Status