lflux/eve-sdeloader

View on GitHub
graphics/import.go

Summary

Maintainability
A
40 mins
Test Coverage

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

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

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

    exported type Graphic should have comment or be unexported
    Open

    type Graphic struct {
    Severity: Minor
    Found in graphics/import.go by golint

    exported function Import should have comment or be unexported
    Open

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

    There are no issues that match your filters.

    Category
    Status