Preparing report...

Report for github.com/go-fed/apcore

A+    Excellent!    Found 72 issues across 93 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!


gocyclo95%

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.

    • apcore/framework/handler.go
    • Line 47: warning: cyclomatic complexity 17 of function BuildHandler() is high (> 15) (gocyclo)
    • Line 384: warning: cyclomatic complexity 16 of function postLoginFn() is high (> 15) (gocyclo)
    • apcore/models/test/main.go
    • Line 549: warning: cyclomatic complexity 25 of function runFollowersCalls() is high (> 15) (gocyclo)
    • Line 78: warning: cyclomatic complexity 21 of function main() is high (> 15) (gocyclo)
    • Line 1983: warning: cyclomatic complexity 19 of function runUserModelCalls() is high (> 15) (gocyclo)
    • Line 1463: warning: cyclomatic complexity 17 of function runOutboxesCalls() is high (> 15) (gocyclo)
    • Line 1636: warning: cyclomatic complexity 16 of function runInboxesCalls() is high (> 15) (gocyclo)

golint23%

Golint is a linter for Go source code.

    • apcore/models/delivery_attempts.go
    • Line 48: warning: exported method DeliveryAttempts.Prepare should have comment or be unexported (golint)
    • Line 60: warning: exported method DeliveryAttempts.CreateTable should have comment or be unexported (golint)
    • Line 65: warning: exported method DeliveryAttempts.Close should have comment or be unexported (golint)
    • Line 112: warning: exported type RetryableFailure should have comment or be unexported (golint)
    • apcore/services/nodeinfo.go
    • Line 32: warning: exported type NodeInfoStats should have comment or be unexported (golint)
    • Line 41: warning: exported type ServerPreferences should have comment or be unexported (golint)
    • Line 52: warning: exported type NodeInfo should have comment or be unexported (golint)
    • Line 64: warning: exported method NodeInfo.GetAnonymizedStats should have comment or be unexported (golint)
    • apcore/framework/web/sessions.go
    • Line 29: warning: exported type Sessions should have comment or be unexported (golint)
    • Line 34: warning: exported function NewSessions should have comment or be unexported (golint)
    • Line 72: warning: exported method Sessions.Get should have comment or be unexported (golint)
    • Line 81: warning: exported type Session should have comment or be unexported (golint)
    • Line 89: warning: exported method Session.SetUserID should have comment or be unexported (golint)
    • Line 94: warning: exported method Session.UserID should have comment or be unexported (golint)
    • Line 105: warning: exported method Session.DeleteUserID should have comment or be unexported (golint)
    • Line 113: warning: exported method Session.SetFirstPartyCredentialID should have comment or be unexported (golint)
    • Line 118: warning: exported method Session.HasFirstPartyCredentialID should have comment or be unexported (golint)
    • Line 123: warning: exported method Session.FirstPartyCredentialID should have comment or be unexported (golint)
    • Line 134: warning: exported method Session.DeleteFirstPartyCredentialID should have comment or be unexported (golint)
    • Line 138: warning: exported method Session.Clear should have comment or be unexported (golint)
    • Line 143: warning: exported method Session.Save should have comment or be unexported (golint)
    • apcore/models/following.go
    • Line 40: warning: exported method Following.Prepare should have comment or be unexported (golint)
    • Line 54: warning: exported method Following.CreateTable should have comment or be unexported (golint)
    • Line 62: warning: exported method Following.Close should have comment or be unexported (golint)
    • apcore/framework/config/verify.go
    • Line 24: warning: exported method Config.Verify should have comment or be unexported (golint)
    • Line 43: warning: exported method ServerConfig.Verify should have comment or be unexported (golint)
    • Line 72: warning: exported method OAuth2Config.Verify should have comment or be unexported (golint)
    • Line 82: warning: exported method DatabaseConfig.Verify should have comment or be unexported (golint)
    • Line 94: warning: exported method ActivityPubConfig.Verify should have comment or be unexported (golint)
    • Line 128: warning: exported method HttpSignaturesConfig.Verify should have comment or be unexported (golint)
    • Line 132: warning: exported method PostgresConfig.Verify should have comment or be unexported (golint)
    • Line 136: warning: exported method NodeInfoConfig.Verify should have comment or be unexported (golint)
    • apcore/models/token_infos.go
    • Line 29: warning: exported type TokenInfo should have comment or be unexported (golint)
    • Line 47: warning: exported method TokenInfo.New should have comment or be unexported (golint)
    • Line 51: warning: exported method TokenInfo.GetClientID should have comment or be unexported (golint)
    • Line 55: warning: exported method TokenInfo.SetClientID should have comment or be unexported (golint)
    • Line 59: warning: exported method TokenInfo.GetUserID should have comment or be unexported (golint)
    • Line 63: warning: exported method TokenInfo.SetUserID should have comment or be unexported (golint)
    • Line 67: warning: exported method TokenInfo.GetRedirectURI should have comment or be unexported (golint)
    • Line 71: warning: exported method TokenInfo.SetRedirectURI should have comment or be unexported (golint)
    • Line 75: warning: exported method TokenInfo.GetScope should have comment or be unexported (golint)
    • Line 79: warning: exported method TokenInfo.SetScope should have comment or be unexported (golint)
    • Line 83: warning: exported method TokenInfo.GetCode should have comment or be unexported (golint)
    • Line 90: warning: exported method TokenInfo.SetCode should have comment or be unexported (golint)
    • Line 95: warning: exported method TokenInfo.GetCodeCreateAt should have comment or be unexported (golint)
    • Line 102: warning: exported method TokenInfo.SetCodeCreateAt should have comment or be unexported (golint)
    • Line 107: warning: exported method TokenInfo.GetCodeExpiresIn should have comment or be unexported (golint)
    • Line 114: warning: exported method TokenInfo.SetCodeExpiresIn should have comment or be unexported (golint)
    • Line 119: warning: exported method TokenInfo.GetCodeChallenge should have comment or be unexported (golint)
    • Line 126: warning: exported method TokenInfo.SetCodeChallenge should have comment or be unexported (golint)
    • Line 131: warning: exported method TokenInfo.GetCodeChallengeMethod should have comment or be unexported (golint)
    • Line 138: warning: exported method TokenInfo.SetCodeChallengeMethod should have comment or be unexported (golint)
    • Line 143: warning: exported method TokenInfo.GetAccess should have comment or be unexported (golint)
    • Line 150: warning: exported method TokenInfo.SetAccess should have comment or be unexported (golint)
    • Line 155: warning: exported method TokenInfo.GetAccessCreateAt should have comment or be unexported (golint)
    • Line 162: warning: exported method TokenInfo.SetAccessCreateAt should have comment or be unexported (golint)
    • Line 167: warning: exported method TokenInfo.GetAccessExpiresIn should have comment or be unexported (golint)
    • Line 174: warning: exported method TokenInfo.SetAccessExpiresIn should have comment or be unexported (golint)
    • Line 179: warning: exported method TokenInfo.GetRefresh should have comment or be unexported (golint)
    • Line 186: warning: exported method TokenInfo.SetRefresh should have comment or be unexported (golint)
    • Line 191: warning: exported method TokenInfo.GetRefreshCreateAt should have comment or be unexported (golint)
    • Line 198: warning: exported method TokenInfo.SetRefreshCreateAt should have comment or be unexported (golint)
    • Line 203: warning: exported method TokenInfo.GetRefreshExpiresIn should have comment or be unexported (golint)
    • Line 210: warning: exported method TokenInfo.SetRefreshExpiresIn should have comment or be unexported (golint)
    • Line 245: warning: exported method TokenInfos.Prepare should have comment or be unexported (golint)
    • Line 258: warning: exported method TokenInfos.CreateTable should have comment or be unexported (golint)
    • Line 263: warning: exported method TokenInfos.Close should have comment or be unexported (golint)
    • apcore/framework/config.go
    • Line 123: warning: exported function LoadConfigFile should have comment or be unexported (golint)
    • Line 156: warning: exported function SaveConfigFile should have comment or be unexported (golint)
    • apcore/framework/config/config.go
    • Line 19: warning: comment on exported type Config should be of the form "Config ..." (with optional leading article) (golint)
    • Line 28: warning: comment on exported type ServerConfig should be of the form "ServerConfig ..." (with optional leading article) (golint)
    • Line 49: warning: exported type OAuth2Config should have comment or be unexported (golint)
    • Line 54: warning: comment on exported type DatabaseConfig should be of the form "DatabaseConfig ..." (with optional leading article) (golint)
    • Line 65: warning: comment on exported type ActivityPubConfig should be of the form "ActivityPubConfig ..." (with optional leading article) (golint)
    • Line 80: warning: comment on exported type HttpSignaturesConfig should be of the form "HttpSignaturesConfig ..." (with optional leading article) (golint)
    • Line 88: warning: comment on exported type PostgresConfig should be of the form "PostgresConfig ..." (with optional leading article) (golint)
    • Line 104: warning: comment on exported type NodeInfoConfig should be of the form "NodeInfoConfig ..." (with optional leading article) (golint)
    • apcore/ap/c2s.go
    • Line 34: warning: exported type SocialBehavior should have comment or be unexported (golint)
    • Line 39: warning: exported function NewSocialBehavior should have comment or be unexported (golint)
    • Line 46: warning: exported method SocialBehavior.PostOutboxRequestBodyHook should have comment or be unexported (golint)
    • Line 53: warning: exported method SocialBehavior.AuthenticatePostOutbox should have comment or be unexported (golint)
    • Line 65: warning: exported method SocialBehavior.SocialCallbacks should have comment or be unexported (golint)
    • Line 71: warning: exported method SocialBehavior.DefaultCallback should have comment or be unexported (golint)
    • apcore/models/followers.go
    • Line 41: warning: exported method Followers.Prepare should have comment or be unexported (golint)
    • Line 56: warning: exported method Followers.CreateTable should have comment or be unexported (golint)
    • Line 64: warning: exported method Followers.Close should have comment or be unexported (golint)
    • Line 162: warning: exported method Followers.OpenFollowRequests should have comment or be unexported (golint)
    • apcore/models/resolutions.go
    • Line 28: warning: exported type Resolution should have comment or be unexported (golint)
    • Line 36: warning: exported method Resolution.Logf should have comment or be unexported (golint)
    • Line 40: warning: exported method Resolution.Log should have comment or be unexported (golint)
    • Line 44: warning: exported type CreateResolution should have comment or be unexported (golint)
    • Line 58: warning: exported method Resolutions.Prepare should have comment or be unexported (golint)
    • Line 65: warning: exported method Resolutions.CreateTable should have comment or be unexported (golint)
    • Line 70: warning: exported method Resolutions.Close should have comment or be unexported (golint)
    • apcore/services/delivery_attempts.go
    • Line 29: warning: exported type DeliveryAttempts should have comment or be unexported (golint)
    • Line 34: warning: exported method DeliveryAttempts.InsertAttempt should have comment or be unexported (golint)
    • Line 41: warning: exported method DeliveryAttempts.MarkSuccessfulAttempt should have comment or be unexported (golint)
    • Line 47: warning: exported method DeliveryAttempts.MarkRetryFailureAttempt should have comment or be unexported (golint)
    • Line 53: warning: exported method DeliveryAttempts.MarkAbandonedAttempt should have comment or be unexported (golint)
    • Line 59: warning: exported type RetryableFailure should have comment or be unexported (golint)
    • Line 69: warning: exported method DeliveryAttempts.FirstPageRetryableFailures should have comment or be unexported (golint)
    • Line 93: warning: exported method DeliveryAttempts.NextPageRetryableFailures should have comment or be unexported (golint)
    • apcore/services/policies.go
    • Line 28: warning: exported type Policies should have comment or be unexported (golint)
    • Line 35: warning: exported method Policies.IsBlocked should have comment or be unexported (golint)
    • apcore/util/context.go
    • Line 40: warning: exported type Context should have comment or be unexported (golint)
    • Line 64: warning: should not use basic type string as key in context.WithValue (golint)
    • Line 69: warning: should not use basic type string as key in context.WithValue (golint)
    • Line 72: warning: comment on exported method Context.WithUserPathUUID should be of the form "WithUserPathUUID ..." (golint)
    • Line 74: warning: should not use basic type string as key in context.WithValue (golint)
    • Line 79: warning: should not use basic type string as key in context.WithValue (golint)
    • Line 87: warning: should not use basic type string as key in context.WithValue (golint)
    • Line 92: warning: should not use basic type string as key in context.WithValue (golint)
    • apcore/framework/db/db.go
    • Line 27: warning: a blank import should be only in a main or test package, or have a comment justifying it (golint)
    • Line 30: warning: exported function NewDB should have comment or be unexported (golint)
    • Line 70: warning: exported function MustPing should have comment or be unexported (golint)
    • apcore/framework/oauth2/oauth.go
    • Line 45: warning: exported type Server should have comment or be unexported (golint)
    • Line 63: warning: exported function NewServer should have comment or be unexported (golint)
    • Line 170: warning: exported method Server.HandleAuthorizationRequest should have comment or be unexported (golint)
    • Line 177: warning: exported method Server.HandleAccessTokenRequest should have comment or be unexported (golint)
    • Line 184: warning: exported method Server.ValidateOAuth2AccessToken should have comment or be unexported (golint)
    • Line 194: warning: exported method Server.RemoveByAccess should have comment or be unexported (golint)
    • Line 198: warning: exported method Server.Validate should have comment or be unexported (golint)
    • Line 229: warning: exported method Server.CreateProxyCredentials should have comment or be unexported (golint)
    • Line 263: warning: exported method Server.RefreshProxyCredentialsIfNeeded should have comment or be unexported (golint)
    • Line 309: warning: exported method Server.ValidateFirstPartyProxyAccessToken should have comment or be unexported (golint)
    • Line 338: warning: exported method Server.RemoveFirstPartyProxyAccessToken should have comment or be unexported (golint)
    • Line 355: warning: exported method Server.Start should have comment or be unexported (golint)
    • Line 359: warning: exported method Server.Stop should have comment or be unexported (golint)
    • apcore/models/outboxes.go
    • Line 42: warning: exported method Outboxes.Prepare should have comment or be unexported (golint)
    • Line 58: warning: exported method Outboxes.CreateTable should have comment or be unexported (golint)
    • Line 66: warning: exported method Outboxes.Close should have comment or be unexported (golint)
    • apcore/services/following.go
    • Line 28: warning: exported type Following should have comment or be unexported (golint)
    • Line 33: warning: exported method Following.ContainsForActor should have comment or be unexported (golint)
    • Line 40: warning: exported method Following.Contains should have comment or be unexported (golint)
    • Line 47: warning: exported method Following.GetPage should have comment or be unexported (golint)
    • Line 61: warning: exported method Following.GetLastPage should have comment or be unexported (golint)
    • Line 75: warning: exported method Following.PrependItem should have comment or be unexported (golint)
    • Line 81: warning: exported method Following.DeleteItem should have comment or be unexported (golint)
    • Line 87: warning: exported method Following.GetAllForActor should have comment or be unexported (golint)
    • apcore/framework/webfinger/webfinger.go
    • Line 23: warning: exported type Link should have comment or be unexported (golint)
    • Line 30: warning: exported type Webfinger should have comment or be unexported (golint)
    • Line 36: warning: exported function ToWebfinger should have comment or be unexported (golint)
    • apcore/models/liked.go
    • Line 40: warning: exported method Liked.Prepare should have comment or be unexported (golint)
    • Line 54: warning: exported method Liked.CreateTable should have comment or be unexported (golint)
    • Line 62: warning: exported method Liked.Close should have comment or be unexported (golint)
    • apcore/framework/framework.go
    • Line 37: warning: exported type Framework should have comment or be unexported (golint)
    • Line 48: warning: exported function BuildFramework should have comment or be unexported (golint)
    • Line 68: warning: exported method Framework.Context should have comment or be unexported (golint)
    • Line 72: warning: exported method Framework.UserIRI should have comment or be unexported (golint)
    • Line 76: warning: exported method Framework.Validate should have comment or be unexported (golint)
    • Line 83: warning: exported method Framework.Send should have comment or be unexported (golint)
    • Line 96: warning: exported method Framework.Session should have comment or be unexported (golint)
    • Line 100: warning: exported method Framework.GetByIRI should have comment or be unexported (golint)
    • Line 104: warning: exported method Framework.OpenFollowRequests should have comment or be unexported (golint)
    • Line 108: warning: exported method Framework.SendAcceptFollow should have comment or be unexported (golint)
    • Line 157: warning: exported method Framework.SendRejectFollow should have comment or be unexported (golint)
    • apcore/services/private_keys.go
    • Line 45: warning: exported type PrivateKeys should have comment or be unexported (golint)
    • Line 52: warning: exported method PrivateKeys.GetUserHTTPSignatureKey should have comment or be unexported (golint)
    • Line 73: warning: exported method PrivateKeys.GetUserHTTPSignatureKeyForInstanceActor should have comment or be unexported (golint)
    • apcore/app/software.go
    • Line 23: warning: exported type Software should have comment or be unexported (golint)
    • Line 39: warning: exported method Software.Version should have comment or be unexported (golint)
    • apcore/app/funcs.go
    • Line 26: warning: exported type AuthorizeFunc should have comment or be unexported (golint)
    • Line 28: warning: exported type CollectionPageHandlerFunc should have comment or be unexported (golint)
    • Line 30: warning: exported type VocabHandlerFunc should have comment or be unexported (golint)
    • apcore/framework/nodeinfo/pkg.go
    • Line 17: warning: package comment should be of the form "Package nodeinfo ..." (golint)
    • Line 46: warning: exported type PathHandler should have comment or be unexported (golint)
    • Line 51: warning: exported function GetNodeInfoHandlers should have comment or be unexported (golint)
    • apcore/framework/oauth2/proxy.go
    • Line 45: warning: exported function FirstPartyOAuth2LoginRedirPath should have comment or be unexported (golint)
    • Line 62: warning: exported function AddLoginError should have comment or be unexported (golint)
    • Line 66: warning: exported function AddAuthError should have comment or be unexported (golint)
    • apcore/models/serialization.go
    • Line 64: warning: exported function MustQueryOneRow should have comment or be unexported (golint)
    • Line 91: warning: exported function QueryRows should have comment or be unexported (golint)
    • Line 106: warning: exported function MustChangeOneRow should have comment or be unexported (golint)
    • Line 140: warning: exported method Privileges.Value should have comment or be unexported (golint)
    • Line 144: warning: exported method Privileges.Scan should have comment or be unexported (golint)
    • Line 161: warning: exported method Preferences.Value should have comment or be unexported (golint)
    • Line 165: warning: exported method Preferences.Scan should have comment or be unexported (golint)
    • Line 198: warning: exported method InstanceActorPreferences.Value should have comment or be unexported (golint)
    • Line 202: warning: exported method InstanceActorPreferences.Scan should have comment or be unexported (golint)
    • Line 220: warning: exported method OnFollowBehavior.Value should have comment or be unexported (golint)
    • Line 233: warning: exported method OnFollowBehavior.Scan should have comment or be unexported (golint)
    • Line 260: warning: exported method ActivityStreams.SanitizeContentSummaryHTML should have comment or be unexported (golint)
    • Line 288: warning: exported method ActivityStreams.Value should have comment or be unexported (golint)
    • Line 292: warning: exported method ActivityStreams.Scan should have comment or be unexported (golint)
    • Line 311: warning: exported method ActivityStreamsPerson.Value should have comment or be unexported (golint)
    • Line 315: warning: exported method ActivityStreamsPerson.Scan should have comment or be unexported (golint)
    • Line 339: warning: exported method ActivityStreamsApplication.Value should have comment or be unexported (golint)
    • Line 343: warning: exported method ActivityStreamsApplication.Scan should have comment or be unexported (golint)
    • Line 368: warning: exported method ActivityStreamsOrderedCollection.Value should have comment or be unexported (golint)
    • Line 372: warning: exported method ActivityStreamsOrderedCollection.Scan should have comment or be unexported (golint)
    • Line 397: warning: exported method ActivityStreamsOrderedCollectionPage.Value should have comment or be unexported (golint)
    • Line 401: warning: exported method ActivityStreamsOrderedCollectionPage.Scan should have comment or be unexported (golint)
    • Line 426: warning: exported method ActivityStreamsCollection.Value should have comment or be unexported (golint)
    • Line 430: warning: exported method ActivityStreamsCollection.Scan should have comment or be unexported (golint)
    • Line 455: warning: exported method ActivityStreamsCollectionPage.Value should have comment or be unexported (golint)
    • Line 459: warning: exported method ActivityStreamsCollectionPage.Scan should have comment or be unexported (golint)
    • Line 484: warning: exported method ActivityStreamsFollow.Value should have comment or be unexported (golint)
    • Line 488: warning: exported method ActivityStreamsFollow.Scan should have comment or be unexported (golint)
    • Line 512: warning: exported method NullDuration.Value should have comment or be unexported (golint)
    • Line 519: warning: exported method NullDuration.Scan should have comment or be unexported (golint)
    • Line 540: warning: exported method URL.Value should have comment or be unexported (golint)
    • Line 544: warning: exported method URL.Scan should have comment or be unexported (golint)
    • apcore/services/users.go
    • Line 55: warning: exported type User should have comment or be unexported (golint)
    • Line 61: warning: exported type Users should have comment or be unexported (golint)
    • Line 78: warning: exported method Users.CreateUser should have comment or be unexported (golint)
    • Line 96: warning: exported method Users.CreateAdminUser should have comment or be unexported (golint)
    • Line 116: warning: exported method Users.CreateInstanceActorSingleton should have comment or be unexported (golint)
    • Line 329: warning: exported method Users.ActorIDForOutbox should have comment or be unexported (golint)
    • Line 341: warning: exported method Users.ActorIDForInbox should have comment or be unexported (golint)
    • Line 353: warning: exported method Users.UserByUsername should have comment or be unexported (golint)
    • Line 371: warning: exported method Users.UserByID should have comment or be unexported (golint)
    • Line 389: warning: exported type Preferences should have comment or be unexported (golint)
    • Line 433: warning: exported type Privileges should have comment or be unexported (golint)
    • Line 480: warning: exported method Users.UpdatePreferences should have comment or be unexported (golint)
    • Line 489: warning: exported method Users.UpdatePrivileges should have comment or be unexported (golint)
    • Line 504: warning: exported method Users.GetServerPreferences should have comment or be unexported (golint)
    • Line 528: warning: exported method Users.SetServerPreferences should have comment or be unexported (golint)
    • apcore/paths/iri.go
    • Line 25: warning: exported function Normalize should have comment or be unexported (golint)
    • Line 32: warning: exported function NormalizeAsIRI should have comment or be unexported (golint)
    • Line 40: warning: exported type Actor should have comment or be unexported (golint)
    • Line 43: warning: exported const InstanceActor should have comment (or a comment on this block) or be unexported (golint)
    • Line 46: warning: exported var AllActors should have comment or be unexported (golint)
    • Line 48: warning: exported type PathKey should have comment or be unexported (golint)
    • Line 51: warning: exported const UserPathKey should have comment (or a comment on this block) or be unexported (golint)
    • Line 107: warning: exported function ActorPathFor should have comment or be unexported (golint)
    • Line 111: warning: exported function ActorIRIFor should have comment or be unexported (golint)
    • Line 139: warning: exported type UUID should have comment or be unexported (golint)
    • Line 141: warning: exported function UUIDFromUserPath should have comment or be unexported (golint)
    • Line 149: warning: exported function UUIDPathFor should have comment or be unexported (golint)
    • Line 169: warning: exported function UUIDIRIFor should have comment or be unexported (golint)
    • Line 184: warning: exported function IRIForActorID should have comment or be unexported (golint)
    • Line 203: warning: exported function Route should have comment or be unexported (golint)
    • Line 207: warning: exported function IsUserPath should have comment or be unexported (golint)
    • Line 212: warning: exported function IsInstanceActorPath should have comment or be unexported (golint)
    • Line 217: warning: exported function IsFollowersPath should have comment or be unexported (golint)
    • Line 221: warning: exported function IsFollowingPath should have comment or be unexported (golint)
    • Line 225: warning: exported function IsLikedPath should have comment or be unexported (golint)
    • apcore/models/client_infos.go
    • Line 28: warning: exported type ClientInfo should have comment or be unexported (golint)
    • Line 35: warning: exported method ClientInfo.GetID should have comment or be unexported (golint)
    • Line 39: warning: exported method ClientInfo.GetSecret should have comment or be unexported (golint)
    • Line 46: warning: exported method ClientInfo.GetDomain should have comment or be unexported (golint)
    • Line 50: warning: exported method ClientInfo.GetUserID should have comment or be unexported (golint)
    • Line 61: warning: exported method ClientInfos.Prepare should have comment or be unexported (golint)
    • Line 69: warning: exported method ClientInfos.CreateTable should have comment or be unexported (golint)
    • Line 74: warning: exported method ClientInfos.Close should have comment or be unexported (golint)
    • apcore/models/test/main.go
    • Line 292: 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 302: 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 318: 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 436: 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 446: 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 462: 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 580: 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 590: 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 606: 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 620: 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 635: 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 647: 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 994: 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 1494: 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 1504: 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 1514: 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 1524: 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 1667: 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 1677: 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 1687: 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 1697: 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 1824: 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 1844: 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 1921: 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 2004: 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 2016: 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 2042: 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 2055: 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 2065: 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)
    • apcore/framework/router.go
    • Line 35: warning: exported type RoutingDatabase should have comment or be unexported (golint)
    • Line 42: warning: exported type Router should have comment or be unexported (golint)
    • Line 55: warning: exported function NewRouter should have comment or be unexported (golint)
    • Line 131: warning: exported method Router.ActivityPubOnlyHandleFunc should have comment or be unexported (golint)
    • Line 135: warning: exported method Router.ActivityPubAndWebHandleFunc should have comment or be unexported (golint)
    • Line 153: warning: exported method Router.HandleAuthorizationRequest should have comment or be unexported (golint)
    • Line 157: warning: exported method Router.HandleAccessTokenRequest should have comment or be unexported (golint)
    • Line 161: warning: exported method Router.Get should have comment or be unexported (golint)
    • Line 165: warning: exported method Router.WebOnlyHandle should have comment or be unexported (golint)
    • Line 169: warning: exported method Router.WebOnlyHandleFunc should have comment or be unexported (golint)
    • Line 173: warning: exported method Router.Handle should have comment or be unexported (golint)
    • Line 177: warning: exported method Router.HandleFunc should have comment or be unexported (golint)
    • Line 181: warning: exported method Router.Headers should have comment or be unexported (golint)
    • Line 185: warning: exported method Router.Host should have comment or be unexported (golint)
    • Line 189: warning: exported method Router.Methods should have comment or be unexported (golint)
    • Line 193: warning: exported method Router.Name should have comment or be unexported (golint)
    • Line 197: warning: exported method Router.NewRoute should have comment or be unexported (golint)
    • Line 201: warning: exported method Router.Path should have comment or be unexported (golint)
    • Line 205: warning: exported method Router.PathPrefix should have comment or be unexported (golint)
    • Line 209: warning: exported method Router.Queries should have comment or be unexported (golint)
    • Line 213: warning: exported method Router.Schemes should have comment or be unexported (golint)
    • Line 217: warning: exported method Router.Use should have comment or be unexported (golint)
    • Line 221: warning: exported method Router.Walk should have comment or be unexported (golint)
    • Line 227: warning: exported type Route should have comment or be unexported (golint)
    • Line 421: warning: exported method Route.ActivityPubOnlyHandleFunc should have comment or be unexported (golint)
    • Line 455: warning: exported method Route.ActivityPubAndWebHandleFunc should have comment or be unexported (golint)
    • Line 603: warning: exported method Route.HandleAuthorizationRequest should have comment or be unexported (golint)
    • Line 608: warning: exported method Route.HandleAccessTokenRequest should have comment or be unexported (golint)
    • Line 613: warning: exported method Route.WebOnlyHandler should have comment or be unexported (golint)
    • Line 618: warning: exported method Route.WebOnlyHandlerFunc should have comment or be unexported (golint)
    • Line 623: warning: exported method Route.Handler should have comment or be unexported (golint)
    • Line 628: warning: exported method Route.HandlerFunc should have comment or be unexported (golint)
    • Line 633: warning: exported method Route.Headers should have comment or be unexported (golint)
    • Line 638: warning: exported method Route.Host should have comment or be unexported (golint)
    • Line 643: warning: exported method Route.Methods should have comment or be unexported (golint)
    • Line 648: warning: exported method Route.Name should have comment or be unexported (golint)
    • Line 653: warning: exported method Route.Path should have comment or be unexported (golint)
    • Line 658: warning: exported method Route.PathPrefix should have comment or be unexported (golint)
    • Line 663: warning: exported method Route.Queries should have comment or be unexported (golint)
    • Line 668: warning: exported method Route.Schemes should have comment or be unexported (golint)
    • apcore/framework/server.go
    • Line 34: warning: exported type StartStopper should have comment or be unexported (golint)
    • Line 39: warning: exported type Server should have comment or be unexported (golint)
    • Line 51: warning: exported function NewInsecureServer should have comment or be unexported (golint)
    • Line 73: warning: exported function NewHTTPSServer should have comment or be unexported (golint)
    • Line 134: warning: exported method Server.Start should have comment or be unexported (golint)
    • Line 156: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 194: warning: exported method Server.Stop should have comment or be unexported (golint)
    • apcore/ap/database.go
    • Line 34: warning: exported type Database should have comment or be unexported (golint)
    • Line 49: warning: exported function NewDatabase should have comment or be unexported (golint)
    • Line 75: warning: exported method Database.InboxContains should have comment or be unexported (golint)
    • Line 79: warning: exported method Database.GetInbox should have comment or be unexported (golint)
    • Line 90: warning: exported method Database.GetPublicInbox should have comment or be unexported (golint)
    • Line 101: warning: comment on exported method Database.SetInbox should be of the form "SetInbox ..." (golint)
    • Line 118: warning: exported method Database.Owns should have comment or be unexported (golint)
    • Line 123: warning: exported method Database.ActorForOutbox should have comment or be unexported (golint)
    • Line 127: warning: exported method Database.ActorForInbox should have comment or be unexported (golint)
    • Line 131: warning: exported method Database.OutboxForInbox should have comment or be unexported (golint)
    • Line 135: warning: exported method Database.Exists should have comment or be unexported (golint)
    • Line 139: warning: exported method Database.Get should have comment or be unexported (golint)
    • Line 143: warning: exported method Database.Create should have comment or be unexported (golint)
    • Line 147: warning: exported method Database.Update should have comment or be unexported (golint)
    • Line 151: warning: exported method Database.Delete should have comment or be unexported (golint)
    • Line 155: warning: exported method Database.GetOutbox should have comment or be unexported (golint)
    • Line 166: warning: exported method Database.GetPublicOutbox should have comment or be unexported (golint)
    • Line 177: warning: comment on exported method Database.SetOutbox should be of the form "SetOutbox ..." (golint)
    • Line 194: warning: exported method Database.Followers should have comment or be unexported (golint)
    • Line 198: warning: exported method Database.Following should have comment or be unexported (golint)
    • Line 202: warning: exported method Database.Liked should have comment or be unexported (golint)
    • Line 206: warning: exported method Database.Begin should have comment or be unexported (golint)
    • apcore/models/fed_data.go
    • Line 38: warning: exported method FedData.Prepare should have comment or be unexported (golint)
    • Line 49: warning: exported method FedData.CreateTable should have comment or be unexported (golint)
    • Line 57: warning: exported method FedData.Close should have comment or be unexported (golint)
    • apcore/models/inboxes.go
    • Line 41: warning: exported method Inboxes.Prepare should have comment or be unexported (golint)
    • Line 56: warning: exported method Inboxes.CreateTable should have comment or be unexported (golint)
    • Line 64: warning: exported method Inboxes.Close should have comment or be unexported (golint)
    • apcore/services/outboxes.go
    • Line 28: warning: exported type Outboxes should have comment or be unexported (golint)
    • Line 33: warning: exported method Outboxes.GetPage should have comment or be unexported (golint)
    • Line 46: warning: exported method Outboxes.GetPublicPage should have comment or be unexported (golint)
    • Line 59: warning: exported method Outboxes.GetLastPage should have comment or be unexported (golint)
    • Line 72: warning: exported method Outboxes.GetPublicLastPage should have comment or be unexported (golint)
    • Line 85: warning: exported method Outboxes.OutboxForInbox should have comment or be unexported (golint)
    • Line 97: warning: exported method Outboxes.PrependItem should have comment or be unexported (golint)
    • Line 103: warning: exported method Outboxes.DeleteItem should have comment or be unexported (golint)
    • apcore/ap/apdb.go
    • Line 32: warning: exported type APDB should have comment or be unexported (golint)
    • Line 58: warning: exported function NewAPDB should have comment or be unexported (golint)
    • Line 66: warning: exported method APDB.Lock should have comment or be unexported (golint)
    • Line 70: 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 76: warning: exported method APDB.Unlock should have comment or be unexported (golint)
    • Line 80: 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 86: warning: exported method APDB.NewID should have comment or be unexported (golint)
    • apcore/example/app.go
    • Line 125: warning: comment on exported method App.C2SEnabled should be of the form "C2SEnabled ..." (golint)
    • Line 132: warning: comment on exported method App.S2SEnabled should be of the form "S2SEnabled ..." (golint)
    • Line 219: warning: exported method App.GetFollowersWebHandlerFunc should have comment or be unexported (golint)
    • Line 227: warning: exported method App.GetFollowingWebHandlerFunc should have comment or be unexported (golint)
    • Line 243: warning: exported method App.GetUserWebHandlerFunc should have comment or be unexported (golint)
    • Line 584: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 739: warning: exported method App.NewIDPath should have comment or be unexported (golint)
    • Line 827: warning: exported method App.DefaultUserPreferences should have comment or be unexported (golint)
    • Line 831: warning: exported method App.DefaultUserPrivileges should have comment or be unexported (golint)
    • Line 834: warning: exported method App.DefaultAdminPrivileges should have comment or be unexported (golint)
    • apcore/ap/common.go
    • Line 38: warning: exported type CommonBehavior should have comment or be unexported (golint)
    • Line 46: warning: exported function NewCommonBehavior should have comment or be unexported (golint)
    • Line 61: warning: exported method CommonBehavior.AuthenticateGetInbox should have comment or be unexported (golint)
    • Line 65: warning: exported method CommonBehavior.AuthenticateGetOutbox should have comment or be unexported (golint)
    • Line 69: warning: exported method CommonBehavior.GetOutbox should have comment or be unexported (golint)
    • Line 85: warning: exported method CommonBehavior.NewTransport should have comment or be unexported (golint)
    • Line 108: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 121: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • apcore/models/private_keys.go
    • Line 35: warning: exported method PrivateKeys.Prepare should have comment or be unexported (golint)
    • Line 44: warning: exported method PrivateKeys.CreateTable should have comment or be unexported (golint)
    • Line 49: warning: exported method PrivateKeys.Close should have comment or be unexported (golint)
    • apcore/models/users.go
    • Line 27: warning: exported type CreateUser should have comment or be unexported (golint)
    • Line 36: warning: exported type User should have comment or be unexported (golint)
    • Line 44: warning: exported type SensitiveUser should have comment or be unexported (golint)
    • Line 70: warning: exported method Users.Prepare should have comment or be unexported (golint)
    • Line 89: warning: exported method Users.CreateTable should have comment or be unexported (golint)
    • Line 94: warning: exported method Users.Close should have comment or be unexported (golint)
    • Line 205: warning: comment on exported method Users.ActorIDForInbox should be of the form "ActorIDForInbox ..." (golint)
    • Line 255: warning: exported type UserActivityStats should have comment or be unexported (golint)
    • apcore/services/inboxes.go
    • Line 28: warning: exported type Inboxes should have comment or be unexported (golint)
    • Line 33: warning: exported method Inboxes.GetPage should have comment or be unexported (golint)
    • Line 47: warning: exported method Inboxes.GetPublicPage should have comment or be unexported (golint)
    • Line 61: warning: exported method Inboxes.GetLastPage should have comment or be unexported (golint)
    • Line 75: warning: exported method Inboxes.GetPublicLastPage should have comment or be unexported (golint)
    • Line 89: warning: exported method Inboxes.ContainsForActor should have comment or be unexported (golint)
    • Line 96: warning: exported method Inboxes.Contains should have comment or be unexported (golint)
    • Line 103: warning: exported method Inboxes.PrependItem should have comment or be unexported (golint)
    • Line 109: warning: exported method Inboxes.DeleteItem should have comment or be unexported (golint)
    • apcore/services/liked.go
    • Line 28: warning: exported type Liked should have comment or be unexported (golint)
    • Line 33: warning: exported method Liked.ContainsForActor should have comment or be unexported (golint)
    • Line 40: warning: exported method Liked.Contains should have comment or be unexported (golint)
    • Line 47: warning: exported method Liked.GetPage should have comment or be unexported (golint)
    • Line 61: warning: exported method Liked.GetLastPage should have comment or be unexported (golint)
    • Line 75: warning: exported method Liked.PrependItem should have comment or be unexported (golint)
    • Line 81: warning: exported method Liked.DeleteItem should have comment or be unexported (golint)
    • Line 87: warning: exported method Liked.GetAllForActor should have comment or be unexported (golint)
    • apcore/services/pagination.go
    • Line 33: warning: comment on exported function DoOrderedCollectionPagination should be of the form "DoOrderedCollectionPagination ..." (golint)
    • Line 43: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 72: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • apcore/app/router.go
    • Line 25: warning: exported type Router should have comment or be unexported (golint)
    • Line 48: warning: exported type Route should have comment or be unexported (golint)
    • apcore/models/local_data.go
    • Line 39: warning: exported method LocalData.Prepare should have comment or be unexported (golint)
    • Line 51: warning: exported method LocalData.CreateTable should have comment or be unexported (golint)
    • Line 59: warning: exported method LocalData.Close should have comment or be unexported (golint)
    • Line 116: warning: exported type LocalDataActivity should have comment or be unexported (golint)
    • Line 121: warning: exported method LocalData.Stats should have comment or be unexported (golint)
    • apcore/models/policies.go
    • Line 34: warning: exported const FederatedBlockPurpose should have comment (or a comment on this block) or be unexported (golint)
    • Line 37: warning: exported type Purpose should have comment or be unexported (golint)
    • Line 42: warning: exported type Policy should have comment or be unexported (golint)
    • Line 48: warning: exported method Policy.Value should have comment or be unexported (golint)
    • Line 52: warning: exported method Policy.Scan should have comment or be unexported (golint)
    • Line 56: warning: exported method Policy.Validate should have comment or be unexported (golint)
    • Line 68: warning: exported method Policy.Resolve should have comment or be unexported (golint)
    • Line 84: warning: exported type KVMatcher should have comment or be unexported (golint)
    • Line 90: warning: exported method KVMatcher.Validate should have comment or be unexported (golint)
    • Line 99: warning: exported method KVMatcher.Resolve should have comment or be unexported (golint)
    • Line 110: warning: exported type UnaryMatcher should have comment or be unexported (golint)
    • Line 118: warning: exported method UnaryMatcher.Validate should have comment or be unexported (golint)
    • Line 143: warning: exported method UnaryMatcher.Match should have comment or be unexported (golint)
    • Line 180: warning: exported type BinaryMatcher should have comment or be unexported (golint)
    • Line 185: warning: exported method BinaryMatcher.Validate should have comment or be unexported (golint)
    • Line 196: warning: exported method BinaryMatcher.Match should have comment or be unexported (golint)
    • Line 208: warning: exported type Value should have comment or be unexported (golint)
    • Line 217: warning: exported method Value.Validate should have comment or be unexported (golint)
    • Line 245: warning: exported method Value.Match should have comment or be unexported (golint)
    • Line 294: warning: exported type CreatePolicy should have comment or be unexported (golint)
    • Line 300: warning: exported type PolicyAndPurpose should have comment or be unexported (golint)
    • Line 306: warning: exported type PolicyAndID should have comment or be unexported (golint)
    • Line 321: warning: exported method Policies.Prepare should have comment or be unexported (golint)
    • Line 330: warning: exported method Policies.CreateTable should have comment or be unexported (golint)
    • Line 335: warning: exported method Policies.Close should have comment or be unexported (golint)
    • apcore/framework/handler.go
    • Line 43: warning: exported const LoginFormEmailKey should have comment (or a comment on this block) or be unexported (golint)
    • Line 47: warning: exported function BuildHandler should have comment or be unexported (golint)
    • Line 76: 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)
    • apcore/app/database.go
    • Line 23: warning: exported type Database should have comment or be unexported (golint)
    • Line 27: warning: exported type TxBuilder should have comment or be unexported (golint)
    • Line 35: warning: exported type SingleRow should have comment or be unexported (golint)
    • apcore/util/safe_start_stop.go
    • Line 42: warning: exported function NewSafeStartStop should have comment or be unexported (golint)
    • Line 49: warning: exported method SafeStartStop.Start should have comment or be unexported (golint)
    • Line 81: warning: exported method SafeStartStop.Stop should have comment or be unexported (golint)
    • apcore/ap/s2s.go
    • Line 36: warning: exported type FederatingBehavior should have comment or be unexported (golint)
    • Line 48: warning: exported function NewFederatingBehavior should have comment or be unexported (golint)
    • Line 69: warning: exported method FederatingBehavior.PostInboxRequestBodyHook should have comment or be unexported (golint)
    • Line 76: warning: exported method FederatingBehavior.AuthenticatePostInbox should have comment or be unexported (golint)
    • Line 82: warning: exported method FederatingBehavior.Blocked should have comment or be unexported (golint)
    • Line 96: warning: exported method FederatingBehavior.FederatingCallbacks should have comment or be unexported (golint)
    • Line 115: warning: exported method FederatingBehavior.DefaultCallback should have comment or be unexported (golint)
    • Line 124: warning: exported method FederatingBehavior.MaxInboxForwardingRecursionDepth should have comment or be unexported (golint)
    • Line 128: warning: exported method FederatingBehavior.MaxDeliveryRecursionDepth should have comment or be unexported (golint)
    • Line 132: warning: exported method FederatingBehavior.FilterForwarding should have comment or be unexported (golint)
    • Line 166: warning: exported method FederatingBehavior.GetInbox should have comment or be unexported (golint)
    • apcore/framework/conn/transport.go
    • Line 60: warning: exported type Controller should have comment or be unexported (golint)
    • Line 73: warning: exported function NewController should have comment or be unexported (golint)
    • Line 117: warning: exported method Controller.Start should have comment or be unexported (golint)
    • Line 122: warning: exported method Controller.Stop should have comment or be unexported (golint)
    • Line 127: warning: exported method Controller.Get should have comment or be unexported (golint)
    • Line 151: warning: exported method Controller.GetFirstAlgorithm should have comment or be unexported (golint)
    • apcore/services/any.go
    • Line 27: warning: exported type Any should have comment or be unexported (golint)
    • Line 32: warning: exported method Any.Begin should have comment or be unexported (golint)
    • Line 106: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 120: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • apcore/models/credentials.go
    • Line 38: warning: exported method Credentials.Prepare should have comment or be unexported (golint)
    • Line 50: warning: exported method Credentials.CreateTable should have comment or be unexported (golint)
    • Line 55: warning: exported method Credentials.Close should have comment or be unexported (golint)
    • Line 77: warning: exported method Credentials.Update should have comment or be unexported (golint)
    • Line 99: warning: exported method Credentials.UpdateExpires should have comment or be unexported (golint)
    • Line 104: warning: exported method Credentials.Delete should have comment or be unexported (golint)
    • Line 109: warning: exported method Credentials.GetTokenInfo should have comment or be unexported (golint)
    • Line 121: warning: exported method Credentials.DeleteExpired should have comment or be unexported (golint)
    • apcore/services/followers.go
    • Line 28: warning: exported type Followers should have comment or be unexported (golint)
    • Line 33: warning: exported method Followers.ContainsForActor should have comment or be unexported (golint)
    • Line 40: warning: exported method Followers.Contains should have comment or be unexported (golint)
    • Line 47: warning: exported method Followers.GetPage should have comment or be unexported (golint)
    • Line 61: warning: exported method Followers.GetLastPage should have comment or be unexported (golint)
    • Line 75: warning: exported method Followers.PrependItem should have comment or be unexported (golint)
    • Line 81: warning: exported method Followers.DeleteItem should have comment or be unexported (golint)
    • Line 87: warning: exported method Followers.GetAllForActor should have comment or be unexported (golint)
    • Line 100: warning: exported method Followers.OpenFollowRequests should have comment or be unexported (golint)
    • apcore/util/log.go
    • Line 27: warning: comment on exported var InfoLogger should be of the form "InfoLogger ..." (golint)
    • Line 31: warning: exported var ErrorLogger should have comment or be unexported (golint)
    • Line 35: warning: exported function LogInfoTo should have comment or be unexported (golint)
    • Line 39: warning: exported function LogErrorTo should have comment or be unexported (golint)
    • Line 43: warning: exported function LogInfoToStdout should have comment or be unexported (golint)
    • Line 47: warning: exported function LogErrorToStderr should have comment or be unexported (golint)
    • apcore/ap/clock.go
    • Line 27: warning: exported type Clock should have comment or be unexported (golint)
    • Line 31: warning: comment on exported function NewClock should be of the form "NewClock ..." (golint)
    • Line 38: warning: exported method Clock.Now should have comment or be unexported (golint)
    • apcore/framework/prompt.go
    • Line 80: warning: exported function PromptFileExistsContinue should have comment or be unexported (golint)
    • Line 87: warning: exported function PromptOverwriteExistingFile should have comment or be unexported (golint)
    • Line 191: warning: exported function PromptAdminUser should have comment or be unexported (golint)
    • Line 208: warning: exported function PromptServerProfile should have comment or be unexported (golint)
    • apcore/services/oauth2.go
    • Line 39: warning: exported method OAuth2.GetByID should have comment or be unexported (golint)
    • Line 47: warning: exported method OAuth2.Create should have comment or be unexported (golint)
    • Line 55: warning: exported method OAuth2.RemoveByCode should have comment or be unexported (golint)
    • Line 62: warning: exported method OAuth2.RemoveByAccess should have comment or be unexported (golint)
    • Line 69: warning: exported method OAuth2.RemoveByRefresh should have comment or be unexported (golint)
    • Line 76: warning: exported method OAuth2.GetByCode should have comment or be unexported (golint)
    • Line 84: warning: exported method OAuth2.GetByAccess should have comment or be unexported (golint)
    • Line 92: warning: exported method OAuth2.GetByRefresh should have comment or be unexported (golint)
    • Line 100: warning: exported method OAuth2.ProxyCreateCredential should have comment or be unexported (golint)
    • Line 121: warning: exported method OAuth2.ProxyUpdateCredential should have comment or be unexported (golint)
    • Line 132: warning: exported method OAuth2.ProxyRemoveCredential should have comment or be unexported (golint)
    • Line 139: warning: exported method OAuth2.ProxyGetCredential should have comment or be unexported (golint)
    • Line 147: warning: exported method OAuth2.DeleteExpiredFirstPartyCredentials should have comment or be unexported (golint)

license100%

Checks whether your project has a LICENSE file.

No problems detected. Good job!


ineffassign97%

IneffAssign detects ineffectual assignments in Go code.


misspell100%

Misspell Finds commonly misspelled English words

No problems detected. Good job!