lflux/eve-sdeloader

View on GitHub
universe/import.go

Summary

Maintainability
A
40 mins
Test Coverage

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

func Import(db *sql.DB, regionPath, invNamePath string) error {
    regions, err := filepath.Glob(filepath.Join(regionPath, "*", "*", "region.staticdata"))

    if err != nil {
        return err
Severity: Major
Found in universe/import.go - About 40 mins to fix

    exported type InvName should have comment or be unexported
    Open

    type InvName struct {
    Severity: Minor
    Found in universe/import.go by golint

    exported type CelestialStatistics should have comment or be unexported
    Open

    type CelestialStatistics struct {
    Severity: Minor
    Found in universe/import.go by golint

    exported function Import should have comment or be unexported
    Open

    func Import(db *sql.DB, regionPath, invNamePath string) error {
    Severity: Minor
    Found in universe/import.go by golint

    There are no issues that match your filters.

    Category
    Status