lflux/eve-sdeloader

View on GitHub
categories/import.go

Summary

Maintainability
A
55 mins
Test Coverage

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

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

    entries := make(map[string]*Category)

Severity: Major
Found in categories/import.go - About 55 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 categories/import.go by golint

    exported type Category should have comment or be unexported
    Open

    type Category struct {
    Severity: Minor
    Found in categories/import.go by golint

    There are no issues that match your filters.

    Category
    Status