Preparing report...

Report for github.com/ok-borg/api

A    Great!    Found 25 issues across 26 files

Tweet

gofmt100%

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

No problems detected. Good job!


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!


gocyclo100%

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.

No problems detected. Good job!


golint38%

Golint is a linter for Go source code.

    • api/domain/organization_join_link_dao.go
    • Line 5: warning: exported type OrganizationJoinLinkDao should have comment or be unexported (golint)
    • Line 9: warning: exported function NewOrganizationJoinLinkDao should have comment or be unexported (golint)
    • Line 13: warning: exported method OrganizationJoinLinkDao.GetById should have comment or be unexported (golint)
    • Line 19: warning: exported method OrganizationJoinLinkDao.GetByOrganizationId should have comment or be unexported (golint)
    • Line 26: warning: exported method OrganizationJoinLinkDao.Create should have comment or be unexported (golint)
    • Line 30: warning: exported method OrganizationJoinLinkDao.Update should have comment or be unexported (golint)
    • Line 34: warning: exported method OrganizationJoinLinkDao.Delete should have comment or be unexported (golint)
    • api/access/access.go
    • Line 17: warning: exported type AccessKinds should have comment or be unexported (golint)
    • Line 19: warning: exported type UserAccess should have comment or be unexported (golint)
    • Line 56: warning: exported function Control should have comment or be unexported (golint)
    • Line 97: warning: comment on exported function IfAuth should be of the form "IfAuth ..." (golint)
    • Line 134: warning: comment on exported function MaybeAuth should be of the form "MaybeAuth ..." (golint)
    • api/endpoints/organizations.go
    • Line 14: warning: exported method Endpoints.CreateOrganization should have comment or be unexported (golint)
    • Line 65: warning: exported method Endpoints.CreateOrganizationJoinLink should have comment or be unexported (golint)
    • Line 109: warning: exported method Endpoints.DeleteOrganizationJoinLink should have comment or be unexported (golint)
    • Line 141: warning: exported method Endpoints.GetOrganizationJoinLink should have comment or be unexported (golint)
    • Line 149: warning: exported method Endpoints.GetOrganizationJoinLinkForOrganization should have comment or be unexported (golint)
    • Line 179: warning: exported method Endpoints.ListUserOrganizations should have comment or be unexported (golint)
    • Line 188: warning: exported method Endpoints.JoinOrganization should have comment or be unexported (golint)
    • Line 225: warning: exported method Endpoints.LeaveOrganization should have comment or be unexported (golint)
    • Line 235: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 254: warning: exported method Endpoints.ExpelUserFromOrganization should have comment or be unexported (golint)
    • Line 283: warning: exported method Endpoints.GrantAdminRightToUser should have comment or be unexported (golint)
    • Line 293: warning: should replace errors.New(fmt.Sprintf(...)) with fmt.Errorf(...) (golint)
    • Line 298: warning: should replace errors.New(fmt.Sprintf(...)) with fmt.Errorf(...) (golint)
    • api/v/v1/v1.go
    • Line 20: warning: exported function Init should have comment or be unexported (golint)
    • Line 22: warning: don't use underscores in Go names; func parameter client_ should be client (golint)
    • Line 23: warning: don't use underscores in Go names; func parameter analyticsClient_ should be analyticsClient (golint)
    • Line 24: warning: don't use underscores in Go names; func parameter ep_ should be ep (golint)
    • Line 25: warning: don't use underscores in Go names; func parameter db_ should be db (golint)
    • api/v/v2/v2.go
    • Line 20: warning: exported function Init should have comment or be unexported (golint)
    • Line 22: warning: don't use underscores in Go names; func parameter client_ should be client (golint)
    • Line 23: warning: don't use underscores in Go names; func parameter analyticsClient_ should be analyticsClient (golint)
    • Line 24: warning: don't use underscores in Go names; func parameter ep_ should be ep (golint)
    • Line 25: warning: don't use underscores in Go names; func parameter db_ should be db (golint)
    • api/ctxext/ctxext.go
    • Line 17: warning: exported function IsAuth should have comment or be unexported (golint)
    • Line 22: warning: exported function TokenString should have comment or be unexported (golint)
    • Line 27: warning: exported function UserId should have comment or be unexported (golint)
    • Line 32: warning: exported function AccessToken should have comment or be unexported (golint)
    • Line 37: warning: exported function User should have comment or be unexported (golint)
    • Line 42: warning: exported function WithTokenString should have comment or be unexported (golint)
    • Line 43: warning: should not use basic type string as key in context.WithValue (golint)
    • Line 46: warning: exported function WithAccessToken should have comment or be unexported (golint)
    • Line 47: warning: should not use basic type string as key in context.WithValue (golint)
    • Line 50: warning: exported function WithUser should have comment or be unexported (golint)
    • Line 51: warning: should not use basic type string as key in context.WithValue (golint)
    • Line 54: warning: exported function WithUserId should have comment or be unexported (golint)
    • Line 55: warning: should not use basic type string as key in context.WithValue (golint)
    • Line 58: warning: exported function WithIsAuth should have comment or be unexported (golint)
    • Line 59: warning: should not use basic type string as key in context.WithValue (golint)
    • api/domain/access_token_dao.go
    • Line 5: warning: exported type AccessTokenDao should have comment or be unexported (golint)
    • Line 9: warning: exported function NewAccessTokenDao should have comment or be unexported (golint)
    • Line 13: warning: exported method AccessTokenDao.Create should have comment or be unexported (golint)
    • Line 17: warning: exported method AccessTokenDao.GetByToken should have comment or be unexported (golint)
    • Line 24: warning: exported method AccessTokenDao.Delete should have comment or be unexported (golint)
    • Line 28: warning: exported method AccessTokenDao.DeleteByToken should have comment or be unexported (golint)
    • api/domain/github_user_dao.go
    • Line 5: warning: exported type GithubUserDao should have comment or be unexported (golint)
    • Line 9: warning: exported function NewGithubUserDao should have comment or be unexported (golint)
    • Line 13: warning: exported method GithubUserDao.Create should have comment or be unexported (golint)
    • Line 17: warning: exported method GithubUserDao.GetByGithubId should have comment or be unexported (golint)
    • api/domain/user_dao.go
    • Line 5: warning: exported type UserDao should have comment or be unexported (golint)
    • Line 9: warning: exported function NewUserDao should have comment or be unexported (golint)
    • Line 13: warning: exported method UserDao.GetById should have comment or be unexported (golint)
    • Line 19: warning: exported method UserDao.GetByIds should have comment or be unexported (golint)
    • Line 26: warning: exported method UserDao.GetByEmailOrUsername should have comment or be unexported (golint)
    • Line 33: warning: exported method UserDao.GetByEmail should have comment or be unexported (golint)
    • Line 40: warning: exported method UserDao.GetByLogin should have comment or be unexported (golint)
    • Line 47: warning: exported method UserDao.Create should have comment or be unexported (golint)
    • Line 51: warning: exported method UserDao.Update should have comment or be unexported (golint)
    • api/conf/conf.go
    • Line 3: warning: exported type Mysql should have comment or be unexported (golint)
    • Line 8: warning: exported type Github should have comment or be unexported (golint)
    • Line 13: warning: exported type Conf should have comment or be unexported (golint)
    • api/domain/domain.go
    • Line 6: warning: exported const AccountTypeGithub should have comment (or a comment on this block) or be unexported (golint)
    • Line 9: warning: exported type User should have comment or be unexported (golint)
    • Line 20: warning: exported type GithubUser should have comment or be unexported (golint)
    • Line 28: warning: exported type AccessToken should have comment or be unexported (golint)
    • Line 36: warning: exported type Organization should have comment or be unexported (golint)
    • Line 45: warning: exported type UserOrganization should have comment or be unexported (golint)
    • Line 56: warning: exported type OrganizationJoinLink should have comment or be unexported (golint)
    • Line 64: warning: exported method OrganizationJoinLink.IsExpired should have comment or be unexported (golint)
    • api/endpoints/slack.go
    • Line 13: warning: comment on exported type SlackMessage should be of the form "SlackMessage ..." (with optional leading article) (golint)
    • Line 20: warning: exported type SlackAttachments should have comment or be unexported (golint)
    • Line 24: warning: don't use underscores in Go names; struct field Mrkdwn_in should be MrkdwnIn (golint)
    • Line 28: warning: comment on exported method Endpoints.Slack should be of the form "Slack ..." (golint)
    • api/v/common.go
    • Line 28: warning: exported function Init should have comment or be unexported (golint)
    • Line 29: warning: don't use underscores in Go names; func parameter client_ should be client (golint)
    • Line 30: warning: don't use underscores in Go names; func parameter analyticsClient_ should be analyticsClient (golint)
    • Line 31: warning: don't use underscores in Go names; func parameter ep_ should be ep (golint)
    • Line 32: warning: don't use underscores in Go names; func parameter db_ should be db (golint)
    • Line 33: warning: don't use underscores in Go names; func parameter githubClientId_ should be githubClientID (golint)
    • Line 42: warning: exported function WriteJsonResponse should have comment or be unexported (golint)
    • Line 47: warning: exported function WriteResponse should have comment or be unexported (golint)
    • Line 54: warning: exported function ReadJsonBody should have comment or be unexported (golint)
    • Line 68: warning: comment on exported function RedirectGithubAuthorize should be of the form "RedirectGithubAuthorize ..." (golint)
    • Line 78: warning: exported function GithubAuth should have comment or be unexported (golint)
    • Line 98: warning: exported function GetUser should have comment or be unexported (golint)
    • Line 107: warning: exported function CreateOrganization should have comment or be unexported (golint)
    • Line 133: warning: comment on exported function CreateOrganizationJoinLink should be of the form "CreateOrganizationJoinLink ..." (golint)
    • Line 172: warning: comment on exported function DeleteOrganizationJoinLink should be of the form "DeleteOrganizationJoinLink ..." (golint)
    • Line 195: warning: comment on exported function GetOrganizationJoinLink should be of the form "GetOrganizationJoinLink ..." (golint)
    • Line 222: warning: comment on exported function GetOrganizationJoinLinkByOrganizationId should be of the form "GetOrganizationJoinLinkByOrganizationId ..." (golint)
    • Line 247: warning: comment on exported function JoinOrganization should be of the form "JoinOrganization ..." (golint)
    • Line 271: warning: comment on exported function ListUserOrganizations should be of the form "ListUserOrganizations ..." (golint)
    • Line 289: warning: comment on exported function LeaveOrganization should be of the form "LeaveOrganization ..." (golint)
    • Line 314: warning: comment on exported function ExpelUserFromOrganization should be of the form "ExpelUserFromOrganization ..." (golint)
    • Line 345: warning: exported function GrantAdminRightToUser should have comment or be unexported (golint)
    • Line 373: warning: exported function SlackCommand should have comment or be unexported (golint)
    • api/domain/organization_dao.go
    • Line 5: warning: exported type OrganizationDao should have comment or be unexported (golint)
    • Line 9: warning: exported function NewOrganizationDao should have comment or be unexported (golint)
    • Line 13: warning: exported method OrganizationDao.GetById should have comment or be unexported (golint)
    • Line 19: warning: exported method OrganizationDao.GetByIds should have comment or be unexported (golint)
    • Line 26: warning: exported method OrganizationDao.GetByName should have comment or be unexported (golint)
    • Line 33: warning: exported method OrganizationDao.MatchesInIds should have comment or be unexported (golint)
    • Line 43: warning: exported method OrganizationDao.Create should have comment or be unexported (golint)
    • Line 47: warning: exported method OrganizationDao.Update should have comment or be unexported (golint)
    • api/domain/user_organization_dao.go
    • Line 7: warning: exported type UserOrganizationDao should have comment or be unexported (golint)
    • Line 11: warning: exported function NewUserOrganizationDao should have comment or be unexported (golint)
    • Line 15: warning: exported method UserOrganizationDao.GetById should have comment or be unexported (golint)
    • Line 21: warning: exported method UserOrganizationDao.GetByUserAndOrganization should have comment or be unexported (golint)
    • Line 22: warning: don't use underscores in Go names; method parameter user_id should be userID (golint)
    • Line 23: warning: don't use underscores in Go names; method parameter organization_id should be organizationID (golint)
    • Line 31: warning: comment on exported method UserOrganizationDao.ListUsersInOrganization should be of the form "ListUsersInOrganization ..." (golint)
    • Line 32: warning: don't use underscores in Go names; method parameter organization_id should be organizationID (golint)
    • Line 39: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 52: warning: comment on exported method UserOrganizationDao.ListOrganizationsForUser should be of the form "ListOrganizationsForUser ..." (golint)
    • Line 53: warning: don't use underscores in Go names; method parameter user_id should be userID (golint)
    • Line 60: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 73: warning: exported method UserOrganizationDao.Create should have comment or be unexported (golint)
    • Line 77: warning: exported method UserOrganizationDao.Update should have comment or be unexported (golint)
    • Line 81: warning: exported method UserOrganizationDao.Delete should have comment or be unexported (golint)
    • Line 85: warning: exported method UserOrganizationDao.GetAdmins should have comment or be unexported (golint)

license100%

Checks whether your project has a LICENSE file.

No problems detected. Good job!


ineffassign30%

IneffAssign detects ineffectual assignments in Go code.

    • api/v/v2/v2.go
    • Line 4: warning: cannot find package "." in: (ineffassign)
    • Line 5: warning: cannot find package "." in: (ineffassign)
    • Line 7: warning: cannot find package "." in: (ineffassign)
    • Line 10: warning: cannot find package "." in: (ineffassign)
    • Line 4: warning: could not import github.com/jinzhu/gorm (invalid package name: "") (ineffassign)
    • Line 5: warning: could not import github.com/jpillora/go-ogle-analytics (invalid package name: "") (ineffassign)
    • Line 7: warning: could not import github.com/ok-borg/api/access (invalid package name: "") (ineffassign)
    • Line 10: warning: could not import gopkg.in/olivere/elastic.v3 (invalid package name: "") (ineffassign)
    • Line 14: warning: undeclared name: elastic (ineffassign)
    • Line 15: warning: undeclared name: ga (ineffassign)
    • Line 22: warning: undeclared name: elastic (ineffassign)
    • Line 23: warning: undeclared name: ga (ineffassign)
    • Line 32: warning: undeclared name: common (ineffassign)
    • Line 33: warning: undeclared name: common (ineffassign)
    • Line 38: warning: undeclared name: common (ineffassign)
    • Line 47: warning: undeclared name: common (ineffassign)
    • Line 50: warning: undeclared name: common (ineffassign)
    • Line 51: warning: undeclared name: common (ineffassign)
    • Line 54: warning: undeclared name: common (ineffassign)
    • Line 56: warning: undeclared name: common (ineffassign)
    • Line 58: warning: undeclared name: common (ineffassign)
    • Line 62: warning: undeclared name: common (ineffassign)
    • Line 64: warning: undeclared name: common (ineffassign)
    • Line 68: warning: undeclared name: common (ineffassign)
    • Line 71: warning: undeclared name: common (ineffassign)
    • Line 74: warning: undeclared name: common (ineffassign)
    • Line 10: warning: "gopkg.in/olivere/elastic.v3" imported but not used (ineffassign)
    • Line 5: warning: "github.com/jpillora/go-ogle-analytics" imported but not used (ineffassign)
    • Line 9: warning: "github.com/ok-borg/api/v" imported but not used (ineffassign)
    • api/main.go
    • Line 13: warning: cannot find package "." in: (ineffassign)
    • Line 14: warning: cannot find package "." in: (ineffassign)
    • Line 15: warning: cannot find package "." in: (ineffassign)
    • Line 16: warning: cannot find package "." in: (ineffassign)
    • Line 17: warning: cannot find package "." in: (ineffassign)
    • Line 18: warning: cannot find package "." in: (ineffassign)
    • Line 19: warning: cannot find package "." in: (ineffassign)
    • Line 20: warning: cannot find package "." in: (ineffassign)
    • Line 21: warning: cannot find package "." in: (ineffassign)
    • Line 22: warning: cannot find package "." in: (ineffassign)
    • Line 23: warning: cannot find package "." in: (ineffassign)
    • Line 24: warning: cannot find package "." in: (ineffassign)
    • Line 25: warning: cannot find package "." in: (ineffassign)
    • Line 11: warning: cannot find package "." in: (ineffassign)
    • Line 11: warning: could not import gopkg.in/olivere/elastic.v3 (invalid package name: "") (ineffassign)
    • Line 13: warning: could not import github.com/cihub/seelog (invalid package name: "") (ineffassign)
    • Line 14: warning: could not import github.com/jinzhu/gorm (invalid package name: "") (ineffassign)
    • Line 15: warning: could not import github.com/jinzhu/gorm/dialects/mysql (invalid package name: "") (ineffassign)
    • Line 16: warning: could not import github.com/jpillora/go-ogle-analytics (invalid package name: "") (ineffassign)
    • Line 17: warning: could not import github.com/julienschmidt/httprouter (invalid package name: "") (ineffassign)
    • Line 18: warning: could not import github.com/ok-borg/api/conf (invalid package name: "") (ineffassign)
    • Line 19: warning: could not import github.com/ok-borg/api/endpoints (invalid package name: "") (ineffassign)
    • Line 20: warning: could not import github.com/ok-borg/api/sitemap (invalid package name: "") (ineffassign)
    • Line 21: warning: could not import github.com/ok-borg/api/v (invalid package name: "") (ineffassign)
    • Line 22: warning: could not import github.com/ok-borg/api/v/v1 (invalid package name: "") (ineffassign)
    • Line 23: warning: could not import github.com/ok-borg/api/v/v2 (invalid package name: "") (ineffassign)
    • Line 24: warning: could not import github.com/rs/cors (invalid package name: "") (ineffassign)
    • Line 25: warning: could not import golang.org/x/oauth2 (invalid package name: "") (ineffassign)
    • Line 43: warning: undeclared name: elastic (ineffassign)
    • Line 44: warning: undeclared name: ga (ineffassign)
    • Line 139: warning: undeclared name: elastic (ineffassign)
    • Line 91: warning: undeclared name: elastic (ineffassign)
    • Line 91: warning: undeclared name: elastic (ineffassign)
    • Line 91: warning: undeclared name: elastic (ineffassign)
    • Line 97: warning: undeclared name: ga (ineffassign)
    • Line 130: warning: undeclared name: common (ineffassign)
    • Line 11: warning: "gopkg.in/olivere/elastic.v3" imported but not used (ineffassign)
    • Line 16: warning: "github.com/jpillora/go-ogle-analytics" imported but not used (ineffassign)
    • Line 21: warning: "github.com/ok-borg/api/v" imported but not used (ineffassign)
    • api/v/v1/snippets.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 14: warning: cannot find package "." in: (ineffassign)
    • Line 15: warning: cannot find package "." in: (ineffassign)
    • Line 11: warning: could not import github.com/cihub/seelog (invalid package name: "") (ineffassign)
    • Line 12: warning: could not import github.com/julienschmidt/httprouter (invalid package name: "") (ineffassign)
    • Line 13: warning: could not import github.com/ok-borg/api/endpoints (invalid package name: "") (ineffassign)
    • Line 14: warning: could not import github.com/ok-borg/api/types (invalid package name: "") (ineffassign)
    • Line 15: warning: could not import github.com/ok-borg/api/v (invalid package name: "") (ineffassign)
    • Line 26: warning: undeclared name: common (ineffassign)
    • Line 38: warning: undeclared name: common (ineffassign)
    • Line 44: warning: undeclared name: common (ineffassign)
    • Line 50: warning: undeclared name: common (ineffassign)
    • Line 56: warning: undeclared name: common (ineffassign)
    • Line 61: warning: undeclared name: common (ineffassign)
    • Line 64: warning: undeclared name: common (ineffassign)
    • Line 70: warning: undeclared name: common (ineffassign)
    • Line 76: warning: undeclared name: common (ineffassign)
    • Line 81: warning: undeclared name: common (ineffassign)
    • Line 84: warning: undeclared name: common (ineffassign)
    • Line 90: warning: undeclared name: common (ineffassign)
    • Line 99: warning: undeclared name: common (ineffassign)
    • Line 104: warning: undeclared name: common (ineffassign)
    • Line 107: warning: undeclared name: common (ineffassign)
    • Line 113: warning: undeclared name: common (ineffassign)
    • Line 118: warning: undeclared name: common (ineffassign)
    • Line 122: warning: undeclared name: common (ineffassign)
    • Line 126: warning: undeclared name: common (ineffassign)
    • Line 15: warning: "github.com/ok-borg/api/v" imported but not used (ineffassign)
    • api/endpoints/slack.go
    • Line 10: warning: cannot find package "." in: (ineffassign)
    • Line 10: warning: could not import github.com/crufter/slugify (invalid package name: "") (ineffassign)
    • api/endpoints/auth.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 13: warning: cannot find package "." in: (ineffassign)
    • Line 14: warning: cannot find package "." in: (ineffassign)
    • Line 15: warning: cannot find package "." in: (ineffassign)
    • Line 9: warning: could not import github.com/google/go-github/github (invalid package name: "") (ineffassign)
    • Line 10: warning: could not import github.com/jinzhu/gorm (invalid package name: "") (ineffassign)
    • Line 11: warning: could not import github.com/jpillora/go-ogle-analytics (invalid package name: "") (ineffassign)
    • Line 12: warning: could not import github.com/ok-borg/api/domain (invalid package name: "") (ineffassign)
    • Line 13: warning: could not import github.com/satori/go.uuid (invalid package name: "") (ineffassign)
    • Line 14: warning: could not import golang.org/x/oauth2 (invalid package name: "") (ineffassign)
    • Line 15: warning: could not import gopkg.in/olivere/elastic.v3 (invalid package name: "") (ineffassign)
    • Line 21: warning: undeclared name: elastic (ineffassign)
    • Line 22: warning: undeclared name: ga (ineffassign)
    • Line 36: warning: undeclared name: elastic (ineffassign)
    • Line 37: warning: undeclared name: ga (ineffassign)
    • Line 43: warning: undeclared name: uuid (ineffassign)
    • Line 98: warning: undeclared name: uuid (ineffassign)
    • Line 125: warning: undeclared name: uuid (ineffassign)
    • Line 11: warning: "github.com/jpillora/go-ogle-analytics" imported but not used (ineffassign)
    • Line 15: warning: "gopkg.in/olivere/elastic.v3" imported but not used (ineffassign)
    • Line 13: warning: "github.com/satori/go.uuid" imported but not used (ineffassign)
    • api/v/v2/snippets.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 14: warning: cannot find package "." in: (ineffassign)
    • Line 15: warning: cannot find package "." in: (ineffassign)
    • Line 16: warning: cannot find package "." in: (ineffassign)
    • Line 17: warning: cannot find package "." in: (ineffassign)
    • Line 11: warning: could not import github.com/cihub/seelog (invalid package name: "") (ineffassign)
    • Line 12: warning: could not import github.com/julienschmidt/httprouter (invalid package name: "") (ineffassign)
    • Line 13: warning: could not import github.com/ok-borg/api/ctxext (invalid package name: "") (ineffassign)
    • Line 14: warning: could not import github.com/ok-borg/api/domain (invalid package name: "") (ineffassign)
    • Line 15: warning: could not import github.com/ok-borg/api/endpoints (invalid package name: "") (ineffassign)
    • Line 16: warning: could not import github.com/ok-borg/api/types (invalid package name: "") (ineffassign)
    • Line 17: warning: could not import github.com/ok-borg/api/v (invalid package name: "") (ineffassign)
    • Line 67: warning: undeclared name: common (ineffassign)
    • Line 80: warning: undeclared name: common (ineffassign)
    • Line 92: warning: undeclared name: common (ineffassign)
    • Line 102: warning: undeclared name: common (ineffassign)
    • Line 108: warning: undeclared name: common (ineffassign)
    • Line 114: warning: undeclared name: common (ineffassign)
    • Line 124: warning: undeclared name: common (ineffassign)
    • Line 131: warning: undeclared name: common (ineffassign)
    • Line 136: warning: undeclared name: common (ineffassign)
    • Line 139: warning: undeclared name: common (ineffassign)
    • Line 145: warning: undeclared name: common (ineffassign)
    • Line 156: warning: undeclared name: common (ineffassign)
    • Line 163: warning: undeclared name: common (ineffassign)
    • Line 169: warning: undeclared name: common (ineffassign)
    • Line 172: warning: undeclared name: common (ineffassign)
    • Line 178: warning: undeclared name: common (ineffassign)
    • Line 187: warning: undeclared name: common (ineffassign)
    • Line 192: warning: undeclared name: common (ineffassign)
    • Line 195: warning: undeclared name: common (ineffassign)
    • Line 202: warning: undeclared name: common (ineffassign)
    • Line 207: warning: undeclared name: common (ineffassign)
    • Line 219: warning: undeclared name: common (ineffassign)
    • Line 229: warning: undeclared name: common (ineffassign)
    • Line 233: warning: undeclared name: common (ineffassign)
    • Line 237: warning: undeclared name: common (ineffassign)
    • Line 17: warning: "github.com/ok-borg/api/v" imported but not used (ineffassign)
    • api/v/v1/v1.go
    • Line 4: warning: cannot find package "." in: (ineffassign)
    • Line 5: warning: cannot find package "." in: (ineffassign)
    • Line 7: warning: cannot find package "." in: (ineffassign)
    • Line 10: warning: cannot find package "." in: (ineffassign)
    • Line 4: warning: could not import github.com/jinzhu/gorm (invalid package name: "") (ineffassign)
    • Line 5: warning: could not import github.com/jpillora/go-ogle-analytics (invalid package name: "") (ineffassign)
    • Line 7: warning: could not import github.com/ok-borg/api/access (invalid package name: "") (ineffassign)
    • Line 10: warning: could not import gopkg.in/olivere/elastic.v3 (invalid package name: "") (ineffassign)
    • Line 14: warning: undeclared name: elastic (ineffassign)
    • Line 15: warning: undeclared name: ga (ineffassign)
    • Line 22: warning: undeclared name: elastic (ineffassign)
    • Line 23: warning: undeclared name: ga (ineffassign)
    • Line 32: warning: undeclared name: common (ineffassign)
    • Line 33: warning: undeclared name: common (ineffassign)
    • Line 38: warning: undeclared name: common (ineffassign)
    • Line 47: warning: undeclared name: common (ineffassign)
    • Line 50: warning: undeclared name: common (ineffassign)
    • Line 51: warning: undeclared name: common (ineffassign)
    • Line 54: warning: undeclared name: common (ineffassign)
    • Line 56: warning: undeclared name: common (ineffassign)
    • Line 58: warning: undeclared name: common (ineffassign)
    • Line 62: warning: undeclared name: common (ineffassign)
    • Line 64: warning: undeclared name: common (ineffassign)
    • Line 68: warning: undeclared name: common (ineffassign)
    • Line 71: warning: undeclared name: common (ineffassign)
    • Line 74: warning: undeclared name: common (ineffassign)
    • Line 9: warning: "github.com/ok-borg/api/v" imported but not used (ineffassign)
    • Line 10: warning: "gopkg.in/olivere/elastic.v3" imported but not used (ineffassign)
    • Line 5: warning: "github.com/jpillora/go-ogle-analytics" imported but not used (ineffassign)
    • api/ctxext/ctxext.go
    • Line 6: warning: cannot find package "." in: (ineffassign)
    • Line 6: warning: could not import github.com/ok-borg/api/domain (invalid package name: "") (ineffassign)
    • api/endpoints/organizations.go
    • Line 8: warning: cannot find package "." in: (ineffassign)
    • Line 8: warning: could not import github.com/cihub/seelog (invalid package name: "") (ineffassign)
    • Line 29: warning: undeclared name: uuid (ineffassign)
    • Line 47: warning: undeclared name: uuid (ineffassign)
    • Line 95: warning: undeclared name: uuid (ineffassign)
    • Line 213: warning: undeclared name: uuid (ineffassign)
    • Line 11: warning: "github.com/satori/go.uuid" imported but not used (ineffassign)
    • api/endpoints/snippets.go
    • Line 10: warning: cannot find package "." in: (ineffassign)
    • Line 11: warning: cannot find package "." in: (ineffassign)
    • Line 10: warning: could not import github.com/ok-borg/api/types (invalid package name: "") (ineffassign)
    • Line 11: warning: could not import github.com/ventu-io/go-shortid (invalid package name: "") (ineffassign)
    • Line 63: warning: undeclared name: shortid (ineffassign)
    • Line 11: warning: "github.com/ventu-io/go-shortid" imported but not used (ineffassign)
    • api/conf/seelog_config.go
    • Line 3: warning: cannot find package "." in: (ineffassign)
    • Line 3: warning: could not import github.com/cihub/seelog (invalid package name: "") (ineffassign)
    • api/sitemap/sitemap.go
    • Line 5: warning: cannot find package "." in: (ineffassign)
    • Line 6: warning: cannot find package "." in: (ineffassign)
    • Line 7: warning: cannot find package "." in: (ineffassign)
    • Line 8: warning: cannot find package "." in: (ineffassign)
    • Line 9: warning: cannot find package "." in: (ineffassign)
    • Line 5: warning: could not import github.com/cihub/seelog (invalid package name: "") (ineffassign)
    • Line 6: warning: could not import github.com/crufter/slugify (invalid package name: "") (ineffassign)
    • Line 7: warning: could not import github.com/joeguo/sitemap (invalid package name: "") (ineffassign)
    • Line 8: warning: could not import github.com/ok-borg/borg/types (invalid package name: "") (ineffassign)
    • Line 9: warning: could not import gopkg.in/olivere/elastic.v3 (invalid package name: "") (ineffassign)
    • Line 15: warning: undeclared name: elastic (ineffassign)
    • Line 24: warning: undeclared name: elastic (ineffassign)
    • Line 9: warning: "gopkg.in/olivere/elastic.v3" imported but not used (ineffassign)
    • api/access/access.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/cihub/seelog (invalid package name: "") (ineffassign)
    • Line 11: warning: could not import github.com/jinzhu/gorm (invalid package name: "") (ineffassign)
    • Line 12: warning: could not import github.com/julienschmidt/httprouter (invalid package name: "") (ineffassign)
    • Line 13: warning: could not import github.com/ok-borg/api/ctxext (invalid package name: "") (ineffassign)
    • Line 14: warning: could not import github.com/ok-borg/api/domain (invalid package name: "") (ineffassign)
    • api/v/common.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 14: warning: cannot find package "." in: (ineffassign)
    • Line 15: warning: cannot find package "." in: (ineffassign)
    • Line 16: warning: cannot find package "." in: (ineffassign)
    • Line 17: warning: cannot find package "." in: (ineffassign)
    • Line 11: warning: could not import github.com/cihub/seelog (invalid package name: "") (ineffassign)
    • Line 12: warning: could not import github.com/jinzhu/gorm (invalid package name: "") (ineffassign)
    • Line 13: warning: could not import github.com/jpillora/go-ogle-analytics (invalid package name: "") (ineffassign)
    • Line 14: warning: could not import github.com/julienschmidt/httprouter (invalid package name: "") (ineffassign)
    • Line 15: warning: could not import github.com/ok-borg/api/ctxext (invalid package name: "") (ineffassign)
    • Line 16: warning: could not import github.com/ok-borg/api/endpoints (invalid package name: "") (ineffassign)
    • Line 17: warning: could not import gopkg.in/olivere/elastic.v3 (invalid package name: "") (ineffassign)
    • Line 21: warning: undeclared name: elastic (ineffassign)
    • Line 22: warning: undeclared name: ga (ineffassign)
    • Line 29: warning: undeclared name: elastic (ineffassign)
    • Line 30: warning: undeclared name: ga (ineffassign)
    • Line 13: warning: "github.com/jpillora/go-ogle-analytics" imported but not used (ineffassign)
    • Line 17: warning: "gopkg.in/olivere/elastic.v3" imported but not used (ineffassign)
    • api/fill/so/main.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/PuerkitoBio/goquery (invalid package name: "") (ineffassign)
    • Line 12: warning: could not import github.com/ok-borg/borg/types (invalid package name: "") (ineffassign)
    • Line 13: warning: could not import gopkg.in/olivere/elastic.v3 (invalid package name: "") (ineffassign)
    • Line 123: warning: undeclared name: elastic (ineffassign)
    • Line 123: warning: undeclared name: elastic (ineffassign)
    • Line 123: warning: undeclared name: elastic (ineffassign)
    • Line 13: warning: "gopkg.in/olivere/elastic.v3" imported but not used (ineffassign)
    • api/endpoints/query.go
    • Line 6: warning: cannot find package "." in: (ineffassign)
    • Line 6: warning: could not import github.com/ok-borg/borg/types (invalid package name: "") (ineffassign)
    • Line 22: warning: undeclared name: ga (ineffassign)
    • Line 28: warning: undeclared name: elastic (ineffassign)
    • Line 5: warning: "github.com/jpillora/go-ogle-analytics" imported but not used (ineffassign)
    • Line 7: warning: "gopkg.in/olivere/elastic.v3" imported but not used (ineffassign)

misspell100%

Misspell Finds commonly misspelled English words

No problems detected. Good job!