roobre/ffxivapi

View on GitHub
character.go

Summary

Maintainability
A
0 mins
Test Coverage

2: cannot find package "github.com/PuerkitoBio/goquery" in any of:
Open

    "github.com/PuerkitoBio/goquery"
Severity: Minor
Found in character.go by govet

should replace errors.New(fmt.Sprintf(...)) with fmt.Errorf(...)
Open

        return errors.New(fmt.Sprintf("could not find achievements for %d", c.ID))
Severity: Minor
Found in character.go by golint

exported const FeatureClassJob should have comment (or a comment on this block) or be unexported
Open

    FeatureClassJob     = 1 << 1
Severity: Minor
Found in character.go by golint

var urlIdRegex should be urlIDRegex
Open

var urlIdRegex = regexp.MustCompile(`/(\d+)/?$`)
Severity: Minor
Found in character.go by golint

var lastPageUrl should be lastPageURL
Open

    lastPageUrl, public := doc.Find(".btn__pager__next--all").First().Attr("href")
Severity: Minor
Found in character.go by golint

There are no issues that match your filters.

Category
Status