Preparing report...

Report for github.com/usefathom/fathom

A+    Excellent!    Found 36 issues across 49 files

Tweet

gofmt95%

Gofmt formats Go programs. We run gofmt -s on your code, where -s is for the "simplify" command


go_vet100%

go vet examines Go source code and reports suspicious constructs, such as Printf calls whose arguments do not align with the format string.

No problems detected. Good job!


gocyclo97%

Gocyclo calculates cyclomatic complexities of functions in Go source code. The cyclomatic complexity of a function is calculated according to the following rules: 1 is the base complexity of a function +1 for each 'if', 'for', 'case', '&&' or '||' Go Report Card warns on functions with cyclomatic complexity > 15.


golint61%

Golint is a linter for Go source code.

    • fathom/pkg/models/page_stats.go
    • Line 7: warning: exported type PageStats should have comment or be unexported (golint)
    • Line 23: warning: exported method PageStats.HandlePageview should have comment or be unexported (golint)
    • fathom/pkg/models/site_stats.go
    • Line 8: warning: exported type SiteStats should have comment or be unexported (golint)
    • Line 20: warning: exported method SiteStats.FormattedDuration should have comment or be unexported (golint)
    • Line 24: warning: exported method SiteStats.HandlePageview should have comment or be unexported (golint)
    • fathom/pkg/api/auth.go
    • Line 27: warning: comment on exported method API.GetSession should be of the form "GetSession ..." (golint)
    • Line 49: warning: comment on exported method API.CreateSession should be of the form "CreateSession ..." (golint)
    • Line 81: warning: comment on exported method API.DeleteSession should be of the form "DeleteSession ..." (golint)
    • fathom/pkg/api/collect.go
    • Line 18: warning: exported type Collector should have comment or be unexported (golint)
    • Line 29: warning: exported function NewCollector should have comment or be unexported (golint)
    • fathom/pkg/api/page_stats.go
    • Line 7: warning: comment on exported method API.GetAggregatedPageStatsHandler should be of the form "GetAggregatedPageStatsHandler ..." (golint)
    • Line 17: warning: exported method API.GetAggregatedPageStatsPageviewsHandler should have comment or be unexported (golint)
    • fathom/pkg/api/referrer_stats.go
    • Line 7: warning: exported method API.GetAggregatedReferrerStatsHandler should have comment or be unexported (golint)
    • Line 16: warning: exported method API.GetAggregatedReferrerStatsPageviewsHandler should have comment or be unexported (golint)
    • fathom/pkg/api/site_stats.go
    • Line 7: warning: comment on exported method API.GetAggregatedSiteStatsHandler should be of the form "GetAggregatedSiteStatsHandler ..." (golint)
    • Line 17: warning: comment on exported method API.GetSiteStatsRealtimeHandler should be of the form "GetSiteStatsRealtimeHandler ..." (golint)
    • Line 27: warning: comment on exported method API.GetSiteStatsHandler should be of the form "GetSiteStatsHandler ..." (golint)
    • fathom/pkg/api/sites.go
    • Line 19: warning: comment on exported method API.GetSitesHandler should be of the form "GetSitesHandler ..." (golint)
    • Line 28: warning: comment on exported method API.SaveSiteHandler should be of the form "SaveSiteHandler ..." (golint)
    • Line 62: warning: comment on exported method API.DeleteSiteHandler should be of the form "DeleteSiteHandler ..." (golint)

license100%

Checks whether your project has a LICENSE file.

No problems detected. Good job!


ineffassign48%

IneffAssign detects ineffectual assignments in Go code.

    • fathom/pkg/datastore/sqlstore/referrer_stats.go
    • Line 12: warning: db.Rebind undefined (type *sqlstore has no field or method Rebind) (ineffassign)
    • Line 13: warning: db.Get undefined (type *sqlstore has no field or method Get) (ineffassign)
    • Line 30: warning: db.Rebind undefined (type *sqlstore has no field or method Rebind) (ineffassign)
    • Line 31: warning: db.Exec undefined (type *sqlstore has no field or method Exec) (ineffassign)
    • Line 36: warning: db.Rebind undefined (type *sqlstore has no field or method Rebind) (ineffassign)
    • Line 37: warning: db.Exec undefined (type *sqlstore has no field or method Exec) (ineffassign)
    • Line 64: warning: db.Rebind undefined (type *sqlstore has no field or method Rebind) (ineffassign)
    • Line 66: warning: db.Select undefined (type *sqlstore has no field or method Select) (ineffassign)
    • Line 72: warning: db.Rebind undefined (type *sqlstore has no field or method Rebind) (ineffassign)
    • Line 73: warning: db.Get undefined (type *sqlstore has no field or method Get) (ineffassign)
    • Line 12: warning: db.Rebind undefined (type *sqlstore has no field or method Rebind) (ineffassign)
    • Line 13: warning: db.Get undefined (type *sqlstore has no field or method Get) (ineffassign)
    • Line 30: warning: db.Rebind undefined (type *sqlstore has no field or method Rebind) (ineffassign)
    • Line 31: warning: db.Exec undefined (type *sqlstore has no field or method Exec) (ineffassign)
    • Line 36: warning: db.Rebind undefined (type *sqlstore has no field or method Rebind) (ineffassign)
    • Line 37: warning: db.Exec undefined (type *sqlstore has no field or method Exec) (ineffassign)
    • Line 64: warning: db.Rebind undefined (type *sqlstore has no field or method Rebind) (ineffassign)
    • Line 66: warning: db.Select undefined (type *sqlstore has no field or method Select) (ineffassign)
    • Line 72: warning: db.Rebind undefined (type *sqlstore has no field or method Rebind) (ineffassign)
    • Line 73: warning: db.Get undefined (type *sqlstore has no field or method Get) (ineffassign)
    • fathom/pkg/cli/server.go
    • Line 11: warning: cannot find package "." in: (ineffassign)
    • Line 12: warning: cannot find package "." in: (ineffassign)
    • Line 13: warning: cannot find package "." in: (ineffassign)
    • Line 11: warning: could not import github.com/gorilla/handlers (invalid package name: "") (ineffassign)
    • Line 12: warning: could not import github.com/usefathom/fathom/pkg/api (invalid package name: "") (ineffassign)
    • Line 13: warning: could not import golang.org/x/crypto/acme/autocert (invalid package name: "") (ineffassign)
    • fathom/pkg/cli/cli.go
    • Line 9: warning: cannot find package "." in: (ineffassign)
    • Line 10: warning: cannot find package "." in: (ineffassign)
    • Line 11: warning: cannot find package "." in: (ineffassign)
    • Line 12: warning: cannot find package "." in: (ineffassign)
    • Line 9: warning: could not import github.com/sirupsen/logrus (invalid package name: "") (ineffassign)
    • Line 10: warning: could not import github.com/urfave/cli (invalid package name: "") (ineffassign)
    • Line 11: warning: could not import github.com/usefathom/fathom/pkg/config (invalid package name: "") (ineffassign)
    • Line 12: warning: could not import github.com/usefathom/fathom/pkg/datastore (invalid package name: "") (ineffassign)
    • Line 31: warning: app.Name undefined (type *App has no field or method Name) (ineffassign)
    • Line 32: warning: app.Usage undefined (type *App has no field or method Usage) (ineffassign)
    • Line 33: warning: app.Version undefined (type *App has no field or method Version) (ineffassign)
    • Line 34: warning: app.HelpName undefined (type *App has no field or method HelpName) (ineffassign)
    • Line 35: warning: app.Flags undefined (type *App has no field or method Flags) (ineffassign)
    • Line 42: warning: app.Before undefined (type *App has no field or method Before) (ineffassign)
    • Line 43: warning: app.After undefined (type *App has no field or method After) (ineffassign)
    • Line 44: warning: app.Commands undefined (type *App has no field or method Commands) (ineffassign)
    • Line 51: warning: app.Name undefined (type *App has no field or method Name) (ineffassign)
    • Line 51: warning: app.Version undefined (type *App has no field or method Version) (ineffassign)
    • Line 54: warning: app.Run undefined (type *App has no field or method Run) (ineffassign)
    • fathom/pkg/config/config.go
    • Line 9: warning: cannot find package "." in: (ineffassign)
    • Line 10: warning: cannot find package "." in: (ineffassign)
    • Line 11: warning: cannot find package "." in: (ineffassign)
    • Line 12: warning: cannot find package "." in: (ineffassign)
    • Line 9: warning: could not import github.com/joho/godotenv (invalid package name: "") (ineffassign)
    • Line 10: warning: could not import github.com/kelseyhightower/envconfig (invalid package name: "") (ineffassign)
    • Line 11: warning: could not import github.com/sirupsen/logrus (invalid package name: "") (ineffassign)
    • Line 12: warning: could not import github.com/usefathom/fathom/pkg/datastore/sqlstore (invalid package name: "") (ineffassign)
    • Line 9: warning: could not import github.com/joho/godotenv (invalid package name: "") (ineffassign)
    • Line 10: warning: could not import github.com/kelseyhightower/envconfig (invalid package name: "") (ineffassign)
    • Line 11: warning: could not import github.com/sirupsen/logrus (invalid package name: "") (ineffassign)
    • Line 12: warning: could not import github.com/usefathom/fathom/pkg/datastore/sqlstore (invalid package name: "") (ineffassign)
    • fathom/pkg/datastore/datastore.go
    • Line 6: warning: cannot find package "." in: (ineffassign)
    • Line 7: warning: cannot find package "." in: (ineffassign)
    • Line 6: warning: could not import github.com/usefathom/fathom/pkg/datastore/sqlstore (invalid package name: "") (ineffassign)
    • Line 7: warning: could not import github.com/usefathom/fathom/pkg/models (invalid package name: "") (ineffassign)
    • fathom/pkg/datastore/sqlstore/pageviews.go
    • Line 7: warning: cannot find package "." in: (ineffassign)
    • Line 7: warning: could not import github.com/sirupsen/logrus (invalid package name: "") (ineffassign)
    • Line 14: warning: db.Rebind undefined (type *sqlstore has no field or method Rebind) (ineffassign)
    • Line 15: warning: db.Get undefined (type *sqlstore has no field or method Get) (ineffassign)
    • Line 65: warning: db.Rebind undefined (type *sqlstore has no field or method Rebind) (ineffassign)
    • Line 66: warning: db.Exec undefined (type *sqlstore has no field or method Exec) (ineffassign)
    • Line 81: warning: db.Beginx undefined (type *sqlstore has no field or method Beginx) (ineffassign)
    • Line 109: warning: db.Rebind undefined (type *sqlstore has no field or method Rebind) (ineffassign)
    • Line 110: warning: db.Select undefined (type *sqlstore has no field or method Select) (ineffassign)
    • Line 119: warning: db.Rebind undefined (type *sqlstore has no field or method Rebind) (ineffassign)
    • Line 120: warning: db.Exec undefined (type *sqlstore has no field or method Exec) (ineffassign)
    • Line 7: warning: could not import github.com/sirupsen/logrus (invalid package name: "") (ineffassign)
    • Line 14: warning: db.Rebind undefined (type *sqlstore has no field or method Rebind) (ineffassign)
    • Line 15: warning: db.Get undefined (type *sqlstore has no field or method Get) (ineffassign)
    • Line 65: warning: db.Rebind undefined (type *sqlstore has no field or method Rebind) (ineffassign)
    • Line 66: warning: db.Exec undefined (type *sqlstore has no field or method Exec) (ineffassign)
    • Line 81: warning: db.Beginx undefined (type *sqlstore has no field or method Beginx) (ineffassign)
    • Line 109: warning: db.Rebind undefined (type *sqlstore has no field or method Rebind) (ineffassign)
    • Line 110: warning: db.Select undefined (type *sqlstore has no field or method Select) (ineffassign)
    • Line 119: warning: db.Rebind undefined (type *sqlstore has no field or method Rebind) (ineffassign)
    • Line 120: warning: db.Exec undefined (type *sqlstore has no field or method Exec) (ineffassign)
    • fathom/pkg/datastore/sqlstore/pathnames.go
    • Line 9: warning: db.Rebind undefined (type *sqlstore has no field or method Rebind) (ineffassign)
    • Line 10: warning: db.Get undefined (type *sqlstore has no field or method Get) (ineffassign)
    • Line 14: warning: db.Rebind undefined (type *sqlstore has no field or method Rebind) (ineffassign)
    • Line 16: warning: db.Get undefined (type *sqlstore has no field or method Get) (ineffassign)
    • Line 21: warning: db.Exec undefined (type *sqlstore has no field or method Exec) (ineffassign)
    • Line 9: warning: db.Rebind undefined (type *sqlstore has no field or method Rebind) (ineffassign)
    • Line 10: warning: db.Get undefined (type *sqlstore has no field or method Get) (ineffassign)
    • Line 14: warning: db.Rebind undefined (type *sqlstore has no field or method Rebind) (ineffassign)
    • Line 16: warning: db.Get undefined (type *sqlstore has no field or method Get) (ineffassign)
    • Line 21: warning: db.Exec undefined (type *sqlstore has no field or method Exec) (ineffassign)
    • fathom/pkg/cli/user.go
    • Line 10: warning: cannot find package "." in: (ineffassign)
    • Line 10: warning: could not import github.com/usefathom/fathom/pkg/models (invalid package name: "") (ineffassign)
    • fathom/pkg/api/auth.go
    • Line 8: warning: cannot find package "." in: (ineffassign)
    • Line 8: warning: could not import github.com/gorilla/context (invalid package name: "") (ineffassign)
    • Line 8: warning: could not import github.com/gorilla/context (invalid package name: "") (ineffassign)
    • fathom/pkg/api/collect.go
    • Line 12: warning: cannot find package "." in: (ineffassign)
    • Line 10: warning: cannot find package "." in: (ineffassign)
    • Line 13: warning: cannot find package "." in: (ineffassign)
    • Line 15: warning: cannot find package "." in: (ineffassign)
    • Line 10: warning: could not import github.com/sirupsen/logrus (invalid package name: "") (ineffassign)
    • Line 12: warning: could not import github.com/mssola/user_agent (invalid package name: "") (ineffassign)
    • Line 13: warning: could not import github.com/usefathom/fathom/pkg/aggregator (invalid package name: "") (ineffassign)
    • Line 15: warning: could not import github.com/usefathom/fathom/pkg/models (invalid package name: "") (ineffassign)
    • Line 10: warning: could not import github.com/sirupsen/logrus (invalid package name: "") (ineffassign)
    • Line 12: warning: could not import github.com/mssola/user_agent (invalid package name: "") (ineffassign)
    • Line 13: warning: could not import github.com/usefathom/fathom/pkg/aggregator (invalid package name: "") (ineffassign)
    • Line 15: warning: could not import github.com/usefathom/fathom/pkg/models (invalid package name: "") (ineffassign)
    • fathom/pkg/datastore/sqlstore/sites.go
    • Line 12: warning: db.Rebind undefined (type *sqlstore has no field or method Rebind) (ineffassign)
    • Line 13: warning: db.Select undefined (type *sqlstore has no field or method Select) (ineffassign)
    • Line 25: warning: db.Rebind undefined (type *sqlstore has no field or method Rebind) (ineffassign)
    • Line 26: warning: db.Get undefined (type *sqlstore has no field or method Get) (ineffassign)
    • Line 43: warning: db.Rebind undefined (type *sqlstore has no field or method Rebind) (ineffassign)
    • Line 45: warning: db.Get undefined (type *sqlstore has no field or method Get) (ineffassign)
    • Line 50: warning: db.Exec undefined (type *sqlstore has no field or method Exec) (ineffassign)
    • Line 65: warning: db.Rebind undefined (type *sqlstore has no field or method Rebind) (ineffassign)
    • Line 66: warning: db.Exec undefined (type *sqlstore has no field or method Exec) (ineffassign)
    • Line 72: warning: db.Rebind undefined (type *sqlstore has no field or method Rebind) (ineffassign)
    • Line 73: warning: db.Exec undefined (type *sqlstore has no field or method Exec) (ineffassign)
    • Line 12: warning: db.Rebind undefined (type *sqlstore has no field or method Rebind) (ineffassign)
    • Line 13: warning: db.Select undefined (type *sqlstore has no field or method Select) (ineffassign)
    • Line 25: warning: db.Rebind undefined (type *sqlstore has no field or method Rebind) (ineffassign)
    • Line 26: warning: db.Get undefined (type *sqlstore has no field or method Get) (ineffassign)
    • Line 43: warning: db.Rebind undefined (type *sqlstore has no field or method Rebind) (ineffassign)
    • Line 45: warning: db.Get undefined (type *sqlstore has no field or method Get) (ineffassign)
    • Line 50: warning: db.Exec undefined (type *sqlstore has no field or method Exec) (ineffassign)
    • Line 65: warning: db.Rebind undefined (type *sqlstore has no field or method Rebind) (ineffassign)
    • Line 66: warning: db.Exec undefined (type *sqlstore has no field or method Exec) (ineffassign)
    • Line 72: warning: db.Rebind undefined (type *sqlstore has no field or method Rebind) (ineffassign)
    • Line 73: warning: db.Exec undefined (type *sqlstore has no field or method Exec) (ineffassign)
    • fathom/pkg/datastore/sqlstore/config_test.go
    • Line 11: warning: unknown field user in struct literal (ineffassign)
    • Line 12: warning: unknown field password in struct literal (ineffassign)
    • Line 14: warning: c.user undefined (type Config has no field or method user, but does have User) (ineffassign)
    • Line 14: warning: c.password undefined (type Config has no field or method password, but does have Password) (ineffassign)
    • Line 21: warning: unknown field user in struct literal (ineffassign)
    • Line 22: warning: unknown field password in struct literal (ineffassign)
    • Line 23: warning: unknown field sslmode in struct literal (ineffassign)
    • Line 25: warning: c.user undefined (type Config has no field or method user, but does have User) (ineffassign)
    • Line 25: warning: c.password undefined (type Config has no field or method password, but does have Password) (ineffassign)
    • Line 25: warning: c.sslmode undefined (type Config has no field or method sslmode) (ineffassign)
    • Line 35: warning: unknown field url in struct literal (ineffassign)
    • Line 42: warning: unknown field url in struct literal (ineffassign)
    • Line 49: warning: unknown field url in struct literal (ineffassign)
    • fathom/main.go
    • Line 7: warning: cannot find package "." in: (ineffassign)
    • Line 7: warning: could not import github.com/usefathom/fathom/pkg/cli (invalid package name: "") (ineffassign)
    • fathom/pkg/datastore/sqlstore/config.go
    • Line 7: warning: cannot find package "." in: (ineffassign)
    • Line 7: warning: could not import github.com/go-sql-driver/mysql (invalid package name: "") (ineffassign)
    • Line 7: warning: could not import github.com/go-sql-driver/mysql (invalid package name: "") (ineffassign)
    • fathom/pkg/datastore/sqlstore/sqlstore.go
    • Line 10: warning: cannot find package "." in: (ineffassign)
    • Line 11: warning: cannot find package "." in: (ineffassign)
    • Line 12: warning: cannot find package "." in: (ineffassign)
    • Line 13: warning: cannot find package "." in: (ineffassign)
    • Line 14: warning: cannot find package "." in: (ineffassign)
    • Line 10: warning: could not import github.com/gobuffalo/packr (invalid package name: "") (ineffassign)
    • Line 11: warning: could not import github.com/jmoiron/sqlx (invalid package name: "") (ineffassign)
    • Line 12: warning: could not import github.com/lib/pq (invalid package name: "") (ineffassign)
    • Line 13: warning: could not import github.com/mattn/go-sqlite3 (invalid package name: "") (ineffassign)
    • Line 14: warning: could not import github.com/rubenv/sql-migrate (invalid package name: "") (ineffassign)
    • Line 88: warning: db.PingContext undefined (type *sqlstore has no field or method PingContext) (ineffassign)
    • Line 10: warning: could not import github.com/gobuffalo/packr (invalid package name: "") (ineffassign)
    • Line 11: warning: could not import github.com/jmoiron/sqlx (invalid package name: "") (ineffassign)
    • Line 12: warning: could not import github.com/lib/pq (invalid package name: "") (ineffassign)
    • Line 13: warning: could not import github.com/mattn/go-sqlite3 (invalid package name: "") (ineffassign)
    • Line 14: warning: could not import github.com/rubenv/sql-migrate (invalid package name: "") (ineffassign)
    • Line 88: warning: db.PingContext undefined (type *sqlstore has no field or method PingContext) (ineffassign)
    • fathom/pkg/api/api.go
    • Line 4: warning: cannot find package "." in: (ineffassign)
    • Line 5: warning: cannot find package "." in: (ineffassign)
    • Line 4: warning: could not import github.com/gorilla/sessions (invalid package name: "") (ineffassign)
    • Line 5: warning: could not import github.com/usefathom/fathom/pkg/datastore (invalid package name: "") (ineffassign)
    • Line 4: warning: could not import github.com/gorilla/sessions (invalid package name: "") (ineffassign)
    • Line 5: warning: could not import github.com/usefathom/fathom/pkg/datastore (invalid package name: "") (ineffassign)
    • fathom/pkg/datastore/sqlstore/users.go
    • Line 12: warning: db.Rebind undefined (type *sqlstore has no field or method Rebind) (ineffassign)
    • Line 13: warning: db.Get undefined (type *sqlstore has no field or method Get) (ineffassign)
    • Line 29: warning: db.Rebind undefined (type *sqlstore has no field or method Rebind) (ineffassign)
    • Line 30: warning: db.Get undefined (type *sqlstore has no field or method Get) (ineffassign)
    • Line 45: warning: db.Rebind undefined (type *sqlstore has no field or method Rebind) (ineffassign)
    • Line 49: warning: db.Get undefined (type *sqlstore has no field or method Get) (ineffassign)
    • Line 54: warning: db.Exec undefined (type *sqlstore has no field or method Exec) (ineffassign)
    • Line 65: warning: db.Rebind undefined (type *sqlstore has no field or method Rebind) (ineffassign)
    • Line 66: warning: db.Exec undefined (type *sqlstore has no field or method Exec) (ineffassign)
    • Line 72: warning: db.Rebind undefined (type *sqlstore has no field or method Rebind) (ineffassign)
    • Line 73: warning: db.Exec undefined (type *sqlstore has no field or method Exec) (ineffassign)
    • Line 81: warning: db.Rebind undefined (type *sqlstore has no field or method Rebind) (ineffassign)
    • Line 82: warning: db.Get undefined (type *sqlstore has no field or method Get) (ineffassign)
    • Line 12: warning: db.Rebind undefined (type *sqlstore has no field or method Rebind) (ineffassign)
    • Line 13: warning: db.Get undefined (type *sqlstore has no field or method Get) (ineffassign)
    • Line 29: warning: db.Rebind undefined (type *sqlstore has no field or method Rebind) (ineffassign)
    • Line 30: warning: db.Get undefined (type *sqlstore has no field or method Get) (ineffassign)
    • Line 45: warning: db.Rebind undefined (type *sqlstore has no field or method Rebind) (ineffassign)
    • Line 49: warning: db.Get undefined (type *sqlstore has no field or method Get) (ineffassign)
    • Line 54: warning: db.Exec undefined (type *sqlstore has no field or method Exec) (ineffassign)
    • Line 65: warning: db.Rebind undefined (type *sqlstore has no field or method Rebind) (ineffassign)
    • Line 66: warning: db.Exec undefined (type *sqlstore has no field or method Exec) (ineffassign)
    • Line 72: warning: db.Rebind undefined (type *sqlstore has no field or method Rebind) (ineffassign)
    • Line 73: warning: db.Exec undefined (type *sqlstore has no field or method Exec) (ineffassign)
    • Line 81: warning: db.Rebind undefined (type *sqlstore has no field or method Rebind) (ineffassign)
    • Line 82: warning: db.Get undefined (type *sqlstore has no field or method Get) (ineffassign)
    • fathom/pkg/api/http.go
    • Line 7: warning: cannot find package "." in: (ineffassign)
    • Line 7: warning: could not import github.com/gobuffalo/packr (invalid package name: "") (ineffassign)
    • Line 7: warning: could not import github.com/gobuffalo/packr (invalid package name: "") (ineffassign)
    • fathom/pkg/api/params.go
    • Line 8: warning: cannot find package "." in: (ineffassign)
    • Line 8: warning: could not import github.com/gorilla/mux (invalid package name: "") (ineffassign)
    • Line 8: warning: could not import github.com/gorilla/mux (invalid package name: "") (ineffassign)
    • fathom/pkg/aggregator/aggregator.go
    • Line 12: warning: cannot find package "." in: (ineffassign)
    • Line 9: warning: cannot find package "." in: (ineffassign)
    • Line 10: warning: cannot find package "." in: (ineffassign)
    • Line 9: warning: could not import github.com/usefathom/fathom/pkg/datastore (invalid package name: "") (ineffassign)
    • Line 10: warning: could not import github.com/usefathom/fathom/pkg/models (invalid package name: "") (ineffassign)
    • Line 12: warning: could not import github.com/sirupsen/logrus (invalid package name: "") (ineffassign)
    • Line 9: warning: could not import github.com/usefathom/fathom/pkg/datastore (invalid package name: "") (ineffassign)
    • Line 10: warning: could not import github.com/usefathom/fathom/pkg/models (invalid package name: "") (ineffassign)
    • Line 12: warning: could not import github.com/sirupsen/logrus (invalid package name: "") (ineffassign)
    • fathom/pkg/models/user.go
    • Line 6: warning: cannot find package "." in: (ineffassign)
    • Line 6: warning: could not import golang.org/x/crypto/bcrypt (invalid package name: "") (ineffassign)
    • Line 6: warning: could not import golang.org/x/crypto/bcrypt (invalid package name: "") (ineffassign)
    • fathom/pkg/datastore/sqlstore/page_stats.go
    • Line 7: warning: cannot find package "." in: (ineffassign)
    • Line 7: warning: could not import github.com/usefathom/fathom/pkg/models (invalid package name: "") (ineffassign)
    • Line 12: warning: db.Rebind undefined (type *sqlstore has no field or method Rebind) (ineffassign)
    • Line 13: warning: db.Get undefined (type *sqlstore has no field or method Get) (ineffassign)
    • Line 30: warning: db.Rebind undefined (type *sqlstore has no field or method Rebind) (ineffassign)
    • Line 31: warning: db.Exec undefined (type *sqlstore has no field or method Exec) (ineffassign)
    • Line 36: warning: db.Rebind undefined (type *sqlstore has no field or method Rebind) (ineffassign)
    • Line 37: warning: db.Exec undefined (type *sqlstore has no field or method Exec) (ineffassign)
    • Line 43: warning: db.Rebind undefined (type *sqlstore has no field or method Rebind) (ineffassign)
    • Line 57: warning: db.Select undefined (type *sqlstore has no field or method Select) (ineffassign)
    • Line 63: warning: db.Rebind undefined (type *sqlstore has no field or method Rebind) (ineffassign)
    • Line 64: warning: db.Get undefined (type *sqlstore has no field or method Get) (ineffassign)
    • Line 7: warning: could not import github.com/usefathom/fathom/pkg/models (invalid package name: "") (ineffassign)
    • Line 12: warning: db.Rebind undefined (type *sqlstore has no field or method Rebind) (ineffassign)
    • Line 13: warning: db.Get undefined (type *sqlstore has no field or method Get) (ineffassign)
    • Line 30: warning: db.Rebind undefined (type *sqlstore has no field or method Rebind) (ineffassign)
    • Line 31: warning: db.Exec undefined (type *sqlstore has no field or method Exec) (ineffassign)
    • Line 36: warning: db.Rebind undefined (type *sqlstore has no field or method Rebind) (ineffassign)
    • Line 37: warning: db.Exec undefined (type *sqlstore has no field or method Exec) (ineffassign)
    • Line 43: warning: db.Rebind undefined (type *sqlstore has no field or method Rebind) (ineffassign)
    • Line 57: warning: db.Select undefined (type *sqlstore has no field or method Select) (ineffassign)
    • Line 63: warning: db.Rebind undefined (type *sqlstore has no field or method Rebind) (ineffassign)
    • Line 64: warning: db.Get undefined (type *sqlstore has no field or method Get) (ineffassign)
    • fathom/pkg/datastore/sqlstore/hostnames.go
    • Line 9: warning: db.Rebind undefined (type *sqlstore has no field or method Rebind) (ineffassign)
    • Line 10: warning: db.Get undefined (type *sqlstore has no field or method Get) (ineffassign)
    • Line 14: warning: db.Rebind undefined (type *sqlstore has no field or method Rebind) (ineffassign)
    • Line 16: warning: db.Get undefined (type *sqlstore has no field or method Get) (ineffassign)
    • Line 21: warning: db.Exec undefined (type *sqlstore has no field or method Exec) (ineffassign)
    • Line 9: warning: db.Rebind undefined (type *sqlstore has no field or method Rebind) (ineffassign)
    • Line 10: warning: db.Get undefined (type *sqlstore has no field or method Get) (ineffassign)
    • Line 14: warning: db.Rebind undefined (type *sqlstore has no field or method Rebind) (ineffassign)
    • Line 16: warning: db.Get undefined (type *sqlstore has no field or method Get) (ineffassign)
    • Line 21: warning: db.Exec undefined (type *sqlstore has no field or method Exec) (ineffassign)
    • fathom/pkg/datastore/sqlstore/site_stats.go
    • Line 13: warning: db.Rebind undefined (type *sqlstore has no field or method Rebind) (ineffassign)
    • Line 15: warning: db.Get undefined (type *sqlstore has no field or method Get) (ineffassign)
    • Line 32: warning: db.Rebind undefined (type *sqlstore has no field or method Rebind) (ineffassign)
    • Line 33: warning: db.Exec undefined (type *sqlstore has no field or method Exec) (ineffassign)
    • Line 38: warning: db.Rebind undefined (type *sqlstore has no field or method Rebind) (ineffassign)
    • Line 39: warning: db.Exec undefined (type *sqlstore has no field or method Exec) (ineffassign)
    • Line 45: warning: db.Rebind undefined (type *sqlstore has no field or method Rebind) (ineffassign)
    • Line 49: warning: db.Select undefined (type *sqlstore has no field or method Select) (ineffassign)
    • Line 55: warning: db.Rebind undefined (type *sqlstore has no field or method Rebind) (ineffassign)
    • Line 63: warning: db.Get undefined (type *sqlstore has no field or method Get) (ineffassign)
    • Line 69: warning: db.Get undefined (type *sqlstore has no field or method Get) (ineffassign)
    • Line 69: warning: db.Rebind undefined (type *sqlstore has no field or method Rebind) (ineffassign)
    • Line 84: warning: db.Rebind undefined (type *sqlstore has no field or method Rebind) (ineffassign)
    • Line 85: warning: db.Get undefined (type *sqlstore has no field or method Get) (ineffassign)
    • Line 13: warning: db.Rebind undefined (type *sqlstore has no field or method Rebind) (ineffassign)
    • Line 15: warning: db.Get undefined (type *sqlstore has no field or method Get) (ineffassign)
    • Line 32: warning: db.Rebind undefined (type *sqlstore has no field or method Rebind) (ineffassign)
    • Line 33: warning: db.Exec undefined (type *sqlstore has no field or method Exec) (ineffassign)
    • Line 38: warning: db.Rebind undefined (type *sqlstore has no field or method Rebind) (ineffassign)
    • Line 39: warning: db.Exec undefined (type *sqlstore has no field or method Exec) (ineffassign)
    • Line 45: warning: db.Rebind undefined (type *sqlstore has no field or method Rebind) (ineffassign)
    • Line 49: warning: db.Select undefined (type *sqlstore has no field or method Select) (ineffassign)
    • Line 55: warning: db.Rebind undefined (type *sqlstore has no field or method Rebind) (ineffassign)
    • Line 63: warning: db.Get undefined (type *sqlstore has no field or method Get) (ineffassign)
    • Line 69: warning: db.Get undefined (type *sqlstore has no field or method Get) (ineffassign)
    • Line 69: warning: db.Rebind undefined (type *sqlstore has no field or method Rebind) (ineffassign)
    • Line 84: warning: db.Rebind undefined (type *sqlstore has no field or method Rebind) (ineffassign)
    • Line 85: warning: db.Get undefined (type *sqlstore has no field or method Get) (ineffassign)

misspell100%

Misspell Finds commonly misspelled English words

No problems detected. Good job!