Preparing report...

Report for github.com/textileio/textile-go

A+    Excellent!    Found 140 issues across 257 files

Tweet

gofmt99%

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


go_vet100%

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

No problems detected. Good job!


gocyclo91%

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.

    • textile-go/core/thread.go
    • Line 305: warning: cyclomatic complexity 20 of function (*Thread).handle() is high (> 15) (gocyclo)
    • Line 504: warning: cyclomatic complexity 20 of function (*Thread).commitNode() is high (> 15) (gocyclo)
    • textile-go/core/core.go
    • Line 317: warning: cyclomatic complexity 18 of function (*Textile).Start() is high (> 15) (gocyclo)
    • Line 156: warning: cyclomatic complexity 16 of function InitRepo() is high (> 15) (gocyclo)
    • textile-go/mobile/files.go
    • Line 317: warning: cyclomatic complexity 17 of function (*Mobile).buildDirectory() is high (> 15) (gocyclo)
    • Line 196: warning: cyclomatic complexity 16 of function (*Mobile).imageFileContentForMinWidth() is high (> 15) (gocyclo)
    • textile-go/core/cafe_service.go
    • Line 1559: warning: cyclomatic complexity 25 of function (*CafeService).handleRequests() is high (> 15) (gocyclo)
    • Line 1455: warning: cyclomatic complexity 21 of function (*CafeService).batchRequests() is high (> 15) (gocyclo)
    • Line 115: warning: cyclomatic complexity 18 of function (*CafeService).Handle() is high (> 15) (gocyclo)
    • Line 718: warning: cyclomatic complexity 16 of function (*CafeService).handleRegistration() is high (> 15) (gocyclo)
    • textile-go/pb/struct.go
    • Line 115: warning: cyclomatic complexity 23 of function toValue() is high (> 15) (gocyclo)
    • Line 27: warning: cyclomatic complexity 16 of function ToValue() is high (> 15) (gocyclo)
    • textile-go/mobile/cafes.go
    • Line 511: warning: cyclomatic complexity 35 of function (*Mobile).writeCafeRequest() is high (> 15) (gocyclo)
    • Line 34: warning: cyclomatic complexity 19 of function (*Mobile).registerCafe() is high (> 15) (gocyclo)
    • textile-go/cmd/files.go
    • Line 53: warning: cyclomatic complexity 30 of function FileAdd() is high (> 15) (gocyclo)
    • Line 220: warning: cyclomatic complexity 25 of function mill() is high (> 15) (gocyclo)

golint52%

Golint is a linter for Go source code.

    • textile-go/wallet/derivation.go
    • Line 32: warning: exported var ErrInvalidPath should have comment or be unexported (golint)
    • Line 38: warning: exported type Key should have comment or be unexported (golint)
    • Line 88: warning: exported method Key.Derive should have comment or be unexported (golint)
    • textile-go/util/util.go
    • Line 15: warning: exported function UnmarshalString should have comment or be unexported (golint)
    • Line 23: warning: exported function SplitString should have comment or be unexported (golint)
    • Line 34: warning: exported function EqualStringSlices should have comment or be unexported (golint)
    • Line 46: warning: exported function ProtoTime should have comment or be unexported (golint)
    • Line 50: warning: exported function ProtoNanos should have comment or be unexported (golint)
    • Line 57: warning: exported function ProtoTs should have comment or be unexported (golint)
    • Line 72: warning: exported function ProtoTsIsNewer should have comment or be unexported (golint)
    • Line 76: warning: exported function TrimQuotes should have comment or be unexported (golint)
    • Line 86: warning: exported function WriteFileByPath should have comment or be unexported (golint)
    • Line 97: warning: exported function Mkdirp should have comment or be unexported (golint)
    • textile-go/repo/migrations/migration001.go
    • Line 8: warning: a blank import should be only in a main or test package, or have a comment justifying it (golint)
    • Line 11: warning: exported type Minor001 should have comment or be unexported (golint)
    • Line 13: warning: exported method Minor001.Up should have comment or be unexported (golint)
    • Line 59: warning: exported method Minor001.Down should have comment or be unexported (golint)
    • Line 63: warning: exported method Minor001.Major should have comment or be unexported (golint)
    • textile-go/repo/migrations/migration004.go
    • Line 8: warning: a blank import should be only in a main or test package, or have a comment justifying it (golint)
    • Line 11: warning: exported type Minor004 should have comment or be unexported (golint)
    • Line 13: warning: exported method Minor004.Up should have comment or be unexported (golint)
    • Line 78: warning: exported method Minor004.Down should have comment or be unexported (golint)
    • Line 82: warning: exported method Minor004.Major should have comment or be unexported (golint)
    • textile-go/repo/db/bots.go
    • Line 13: warning: exported type BotDB should have comment or be unexported (golint)
    • Line 17: warning: exported function NewBotstore should have comment or be unexported (golint)
    • textile-go/repo/db/cafe_sessions.go
    • Line 13: warning: exported type CafeSessionDB should have comment or be unexported (golint)
    • Line 17: warning: exported function NewCafeSessionStore should have comment or be unexported (golint)
    • Line 21: warning: exported method CafeSessionDB.AddOrUpdate should have comment or be unexported (golint)
    • Line 55: warning: exported method CafeSessionDB.Get should have comment or be unexported (golint)
    • Line 65: warning: exported method CafeSessionDB.List should have comment or be unexported (golint)
    • Line 72: warning: exported method CafeSessionDB.Delete should have comment or be unexported (golint)
    • textile-go/pb/struct.go
    • Line 1: warning: package comment should be of the form "Package pb ..." (golint)
    • Line 247: warning: exported function ToInterface should have comment or be unexported (golint)
    • textile-go/repo/db/cafe_messages.go
    • Line 13: warning: exported type CafeMessageDB should have comment or be unexported (golint)
    • Line 17: warning: exported function NewCafeMessageStore should have comment or be unexported (golint)
    • Line 21: warning: exported method CafeMessageDB.Add should have comment or be unexported (golint)
    • Line 48: warning: exported method CafeMessageDB.List should have comment or be unexported (golint)
    • Line 60: warning: exported method CafeMessageDB.AddAttempt should have comment or be unexported (golint)
    • Line 67: warning: exported method CafeMessageDB.Delete should have comment or be unexported (golint)
    • textile-go/cmd/notifications.go
    • Line 7: warning: exported function NotificationList should have comment or be unexported (golint)
    • Line 16: warning: exported function NotificationRead should have comment or be unexported (golint)
    • textile-go/api/api_blocks.go
    • Line 15: warning: error should be the last type when returning multiple items (golint)
    • Line 23: warning: error should be the last type when returning multiple items (golint)
    • Line 31: warning: error should be the last type when returning multiple items (golint)
    • Line 39: warning: error should be the last type when returning multiple items (golint)
    • Line 47: warning: error should be the last type when returning multiple items (golint)
    • Line 80: warning: error should be the last type when returning multiple items (golint)
    • textile-go/core/feed_likes.go
    • Line 9: warning: exported method Textile.Likes should have comment or be unexported (golint)
    • Line 24: warning: exported method Textile.Like should have comment or be unexported (golint)
    • textile-go/repo/datastore.go
    • Line 11: warning: exported type Datastore should have comment or be unexported (golint)
    • Line 34: warning: exported type Queryable should have comment or be unexported (golint)
    • Line 41: warning: exported type ConfigStore should have comment or be unexported (golint)
    • Line 51: warning: exported type PeerStore should have comment or be unexported (golint)
    • Line 67: warning: exported type Botstore should have comment or be unexported (golint)
    • Line 74: warning: exported type FileStore should have comment or be unexported (golint)
    • Line 86: warning: exported type ThreadStore should have comment or be unexported (golint)
    • Line 99: warning: exported type ThreadPeerStore should have comment or be unexported (golint)
    • Line 113: warning: exported type BlockStore should have comment or be unexported (golint)
    • Line 125: warning: exported type BlockMessageStore should have comment or be unexported (golint)
    • Line 132: warning: exported type InviteStore should have comment or be unexported (golint)
    • Line 140: warning: exported type NotificationStore should have comment or be unexported (golint)
    • Line 156: warning: exported type CafeSessionStore should have comment or be unexported (golint)
    • Line 163: warning: exported type CafeRequestStore should have comment or be unexported (golint)
    • Line 185: warning: exported type CafeMessageStore should have comment or be unexported (golint)
    • Line 195: warning: exported type CafeClientNonceStore should have comment or be unexported (golint)
    • Line 201: warning: exported type CafeClientStore should have comment or be unexported (golint)
    • Line 211: warning: exported type CafeClientThreadStore should have comment or be unexported (golint)
    • Line 218: warning: exported type CafeClientMessageStore should have comment or be unexported (golint)
    • Line 226: warning: exported type CafeTokenStore should have comment or be unexported (golint)
    • textile-go/mill/json.go
    • Line 7: warning: exported type Json should have comment or be unexported (golint)
    • Line 9: warning: exported method Json.ID should have comment or be unexported (golint)
    • Line 13: warning: exported method Json.Encrypt should have comment or be unexported (golint)
    • Line 17: warning: exported method Json.Pin should have comment or be unexported (golint)
    • Line 21: warning: exported method Json.AcceptMedia should have comment or be unexported (golint)
    • Line 27: warning: exported method Json.Options should have comment or be unexported (golint)
    • Line 31: warning: exported method Json.Mill should have comment or be unexported (golint)
    • textile-go/repo/migrations/migration013.go
    • Line 8: warning: a blank import should be only in a main or test package, or have a comment justifying it (golint)
    • Line 11: warning: exported type Minor013 should have comment or be unexported (golint)
    • Line 13: warning: exported method Minor013.Up should have comment or be unexported (golint)
    • Line 56: warning: exported method Minor013.Down should have comment or be unexported (golint)
    • Line 60: warning: exported method Minor013.Major should have comment or be unexported (golint)
    • textile-go/repo/db/cafe_client_messages.go
    • Line 13: warning: exported type CafeClientMessagesDB should have comment or be unexported (golint)
    • Line 17: warning: exported function NewCafeClientMessageStore should have comment or be unexported (golint)
    • Line 21: warning: exported method CafeClientMessagesDB.AddOrUpdate should have comment or be unexported (golint)
    • Line 48: warning: exported method CafeClientMessagesDB.ListByClient should have comment or be unexported (golint)
    • Line 55: warning: exported method CafeClientMessagesDB.CountByClient should have comment or be unexported (golint)
    • Line 64: warning: exported method CafeClientMessagesDB.Delete should have comment or be unexported (golint)
    • Line 71: warning: exported method CafeClientMessagesDB.DeleteByClient should have comment or be unexported (golint)
    • textile-go/ssl/certs.go
    • Line 66: warning: exported function Check should have comment or be unexported (golint)
    • Line 75: warning: exported function Generate should have comment or be unexported (golint)
    • textile-go/repo/migrations/migration012.go
    • Line 8: warning: a blank import should be only in a main or test package, or have a comment justifying it (golint)
    • Line 11: warning: exported type Minor012 should have comment or be unexported (golint)
    • Line 13: warning: exported method Minor012.Up should have comment or be unexported (golint)
    • Line 52: warning: exported method Minor012.Down should have comment or be unexported (golint)
    • Line 56: warning: exported method Minor012.Major should have comment or be unexported (golint)
    • textile-go/cmd/wallet.go
    • Line 10: warning: exported function WalletInit should have comment or be unexported (golint)
    • Line 44: warning: exported function WalletAccounts should have comment or be unexported (golint)
    • textile-go/repo/migrations/migration002.go
    • Line 8: warning: a blank import should be only in a main or test package, or have a comment justifying it (golint)
    • Line 11: warning: exported type Minor002 should have comment or be unexported (golint)
    • Line 13: warning: exported method Minor002.Up should have comment or be unexported (golint)
    • Line 65: warning: exported method Minor002.Down should have comment or be unexported (golint)
    • Line 69: warning: exported method Minor002.Major should have comment or be unexported (golint)
    • textile-go/repo/db/files.go
    • Line 18: warning: exported type FileDB should have comment or be unexported (golint)
    • Line 22: warning: exported function NewFileStore should have comment or be unexported (golint)
    • Line 26: warning: exported method FileDB.Add should have comment or be unexported (golint)
    • Line 85: warning: exported method FileDB.Get should have comment or be unexported (golint)
    • Line 95: warning: exported method FileDB.GetByPrimary should have comment or be unexported (golint)
    • Line 105: warning: exported method FileDB.GetBySource should have comment or be unexported (golint)
    • Line 115: warning: exported method FileDB.AddTarget should have comment or be unexported (golint)
    • Line 136: warning: exported method FileDB.RemoveTarget should have comment or be unexported (golint)
    • Line 167: warning: exported method FileDB.Count should have comment or be unexported (golint)
    • Line 176: warning: exported method FileDB.Delete should have comment or be unexported (golint)
    • textile-go/cmd/observe.go
    • Line 13: warning: exported function ObserveCommand should have comment or be unexported (golint)
    • Line 37: warning: exported function Observe should have comment or be unexported (golint)
    • textile-go/repo/migrations/migration011.go
    • Line 8: warning: a blank import should be only in a main or test package, or have a comment justifying it (golint)
    • Line 11: warning: exported type Minor011 should have comment or be unexported (golint)
    • Line 13: warning: exported method Minor011.Up should have comment or be unexported (golint)
    • textile-go/core/blocks.go
    • Line 12: warning: comment on exported method Textile.Blocks should be of the form "Blocks ..." (golint)
    • Line 36: warning: comment on exported method Textile.BlockByParent should be of the form "BlockByParent ..." (golint)
    • textile-go/crypto/asymmetric.go
    • Line 13: warning: comment on exported const NonceBytes should be of the form "NonceBytes ..." (golint)
    • Line 16: warning: comment on exported const EphemeralPublicKeyBytes should be of the form "EphemeralPublicKeyBytes ..." (golint)
    • Line 21: warning: comment on exported var BoxDecryptionError should be of the form "BoxDecryptionError ..." (golint)
    • Line 22: warning: error var BoxDecryptionError should have name of the form ErrFoo (golint)
    • Line 25: warning: exported function Encrypt should have comment or be unexported (golint)
    • Line 82: warning: exported function Decrypt should have comment or be unexported (golint)
    • Line 131: warning: exported function Verify should have comment or be unexported (golint)
    • textile-go/core/feed_files.go
    • Line 11: warning: exported method Textile.Files should have comment or be unexported (golint)
    • Line 36: warning: exported method Textile.File should have comment or be unexported (golint)
    • textile-go/repo/migrations/migration007.go
    • Line 8: warning: a blank import should be only in a main or test package, or have a comment justifying it (golint)
    • Line 11: warning: exported type Minor007 should have comment or be unexported (golint)
    • Line 13: warning: exported method Minor007.Up should have comment or be unexported (golint)
    • Line 56: warning: exported method Minor007.Down should have comment or be unexported (golint)
    • Line 60: warning: exported method Minor007.Major should have comment or be unexported (golint)
    • textile-go/repo/migrations/migration009.go
    • Line 8: warning: a blank import should be only in a main or test package, or have a comment justifying it (golint)
    • Line 11: warning: exported type Minor009 should have comment or be unexported (golint)
    • Line 13: warning: exported method Minor009.Up should have comment or be unexported (golint)
    • textile-go/repo/db/cafe_client_threads.go
    • Line 11: warning: exported type CafeClientThreadDB should have comment or be unexported (golint)
    • Line 15: warning: exported function NewCafeClientThreadStore should have comment or be unexported (golint)
    • Line 19: warning: exported method CafeClientThreadDB.AddOrUpdate should have comment or be unexported (golint)
    • Line 45: warning: exported method CafeClientThreadDB.ListByClient should have comment or be unexported (golint)
    • Line 52: warning: exported method CafeClientThreadDB.Delete should have comment or be unexported (golint)
    • Line 59: warning: exported method CafeClientThreadDB.DeleteByClient should have comment or be unexported (golint)
    • textile-go/repo/db/db.go
    • Line 11: warning: a blank import should be only in a main or test package, or have a comment justifying it (golint)
    • Line 25: warning: exported type SQLiteDatastore should have comment or be unexported (golint)
    • Line 48: warning: exported function Create should have comment or be unexported (golint)
    • Line 87: warning: exported method SQLiteDatastore.Ping should have comment or be unexported (golint)
    • Line 91: warning: exported method SQLiteDatastore.Close should have comment or be unexported (golint)
    • Line 95: warning: exported method SQLiteDatastore.Config should have comment or be unexported (golint)
    • Line 99: warning: exported method SQLiteDatastore.Peers should have comment or be unexported (golint)
    • Line 103: warning: exported method SQLiteDatastore.Files should have comment or be unexported (golint)
    • Line 107: warning: exported method SQLiteDatastore.Threads should have comment or be unexported (golint)
    • Line 111: warning: exported method SQLiteDatastore.ThreadPeers should have comment or be unexported (golint)
    • Line 115: warning: exported method SQLiteDatastore.Blocks should have comment or be unexported (golint)
    • Line 119: warning: exported method SQLiteDatastore.BlockMessages should have comment or be unexported (golint)
    • Line 123: warning: exported method SQLiteDatastore.Invites should have comment or be unexported (golint)
    • Line 127: warning: exported method SQLiteDatastore.Notifications should have comment or be unexported (golint)
    • Line 131: warning: exported method SQLiteDatastore.CafeSessions should have comment or be unexported (golint)
    • Line 135: warning: exported method SQLiteDatastore.CafeRequests should have comment or be unexported (golint)
    • Line 139: warning: exported method SQLiteDatastore.CafeMessages should have comment or be unexported (golint)
    • Line 143: warning: exported method SQLiteDatastore.CafeClientNonces should have comment or be unexported (golint)
    • Line 147: warning: exported method SQLiteDatastore.CafeClients should have comment or be unexported (golint)
    • Line 151: warning: exported method SQLiteDatastore.CafeTokens should have comment or be unexported (golint)
    • Line 155: warning: exported method SQLiteDatastore.CafeClientThreads should have comment or be unexported (golint)
    • Line 159: warning: exported method SQLiteDatastore.CafeClientMessages should have comment or be unexported (golint)
    • Line 163: warning: exported method SQLiteDatastore.Bots should have comment or be unexported (golint)
    • Line 167: warning: exported method SQLiteDatastore.Copy should have comment or be unexported (golint)
    • Line 203: warning: exported method SQLiteDatastore.InitTables should have comment or be unexported (golint)
    • Line 207: warning: exported function ConflictError should have comment or be unexported (golint)
    • textile-go/cmd/profile.go
    • Line 10: warning: exported function ProfileGet should have comment or be unexported (golint)
    • Line 28: warning: exported function ProfileSet should have comment or be unexported (golint)
    • textile-go/core/feed.go
    • Line 43: warning: exported method Textile.Feed should have comment or be unexported (golint)
    • Line 261: warning: exported function FeedItemType should have comment or be unexported (golint)
    • Line 264: 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 269: warning: exported type FeedItemPayload should have comment or be unexported (golint)
    • Line 277: warning: exported function GetFeedItemPayload should have comment or be unexported (golint)
    • textile-go/repo/migrations/migration015.go
    • Line 8: warning: a blank import should be only in a main or test package, or have a comment justifying it (golint)
    • Line 11: warning: exported type Minor015 should have comment or be unexported (golint)
    • Line 13: warning: exported method Minor015.Up should have comment or be unexported (golint)
    • Line 52: warning: exported method Minor015.Down should have comment or be unexported (golint)
    • Line 56: warning: exported method Minor015.Major should have comment or be unexported (golint)
    • textile-go/repo/migrations/migration016.go
    • Line 8: warning: a blank import should be only in a main or test package, or have a comment justifying it (golint)
    • Line 11: warning: exported type Minor016 should have comment or be unexported (golint)
    • Line 13: warning: exported method Minor016.Up should have comment or be unexported (golint)
    • Line 51: warning: exported method Minor016.Down should have comment or be unexported (golint)
    • Line 55: warning: exported method Minor016.Major should have comment or be unexported (golint)
    • textile-go/repo/db/threads.go
    • Line 13: warning: exported type ThreadDB should have comment or be unexported (golint)
    • Line 17: warning: exported function NewThreadStore should have comment or be unexported (golint)
    • Line 21: warning: exported method ThreadDB.Add should have comment or be unexported (golint)
    • Line 55: warning: exported method ThreadDB.Get should have comment or be unexported (golint)
    • Line 65: warning: exported method ThreadDB.GetByKey should have comment or be unexported (golint)
    • Line 75: warning: exported method ThreadDB.List should have comment or be unexported (golint)
    • Line 81: warning: exported method ThreadDB.Count should have comment or be unexported (golint)
    • Line 90: warning: exported method ThreadDB.UpdateHead should have comment or be unexported (golint)
    • Line 97: warning: exported method ThreadDB.UpdateName should have comment or be unexported (golint)
    • Line 104: warning: exported method ThreadDB.UpdateSchema should have comment or be unexported (golint)
    • Line 111: warning: exported method ThreadDB.Delete should have comment or be unexported (golint)
    • textile-go/core/core.go
    • Line 117: warning: comment on exported var ErrAccountRequired should be of the form "ErrAccountRequired ..." (golint)
    • Line 119: warning: exported var ErrStarted should have comment or be unexported (golint)
    • Line 120: warning: exported var ErrStopped should have comment or be unexported (golint)
    • Line 121: warning: exported var ErrOffline should have comment or be unexported (golint)
    • Line 122: warning: exported var ErrMissingRepoConfig should have comment or be unexported (golint)
    • Line 628: warning: comment on exported method Textile.NotificationCh should be of the form "NotificationCh ..." (golint)
    • textile-go/core/feed_messages.go
    • Line 9: warning: exported method Textile.Messages should have comment or be unexported (golint)
    • Line 34: warning: exported method Textile.Message should have comment or be unexported (golint)
    • textile-go/mill/blob.go
    • Line 3: warning: exported type Blob should have comment or be unexported (golint)
    • Line 5: warning: exported method Blob.ID should have comment or be unexported (golint)
    • Line 9: warning: exported method Blob.Encrypt should have comment or be unexported (golint)
    • Line 13: warning: exported method Blob.Pin should have comment or be unexported (golint)
    • Line 17: warning: exported method Blob.AcceptMedia should have comment or be unexported (golint)
    • Line 21: warning: exported method Blob.Options should have comment or be unexported (golint)
    • Line 25: warning: exported method Blob.Mill should have comment or be unexported (golint)
    • textile-go/mill/schema.go
    • Line 17: warning: exported type Schema should have comment or be unexported (golint)
    • Line 19: warning: exported method Schema.ID should have comment or be unexported (golint)
    • Line 23: warning: exported method Schema.Encrypt should have comment or be unexported (golint)
    • Line 27: warning: exported method Schema.Pin should have comment or be unexported (golint)
    • Line 31: warning: exported method Schema.AcceptMedia should have comment or be unexported (golint)
    • Line 35: warning: exported method Schema.Options should have comment or be unexported (golint)
    • Line 39: warning: exported method Schema.Mill should have comment or be unexported (golint)
    • textile-go/repo/migrations/migration003.go
    • Line 8: warning: a blank import should be only in a main or test package, or have a comment justifying it (golint)
    • Line 11: warning: exported type Minor003 should have comment or be unexported (golint)
    • Line 13: warning: exported method Minor003.Up should have comment or be unexported (golint)
    • Line 69: warning: exported method Minor003.Down should have comment or be unexported (golint)
    • Line 73: warning: exported method Minor003.Major should have comment or be unexported (golint)
    • textile-go/repo/db/thread_peers.go
    • Line 11: warning: exported type ThreadPeerDB should have comment or be unexported (golint)
    • Line 15: warning: exported function NewThreadPeerStore should have comment or be unexported (golint)
    • Line 19: warning: exported method ThreadPeerDB.Add should have comment or be unexported (golint)
    • Line 45: warning: exported method ThreadPeerDB.List should have comment or be unexported (golint)
    • Line 52: warning: exported method ThreadPeerDB.ListById should have comment or be unexported (golint)
    • Line 59: warning: exported method ThreadPeerDB.ListByThread should have comment or be unexported (golint)
    • Line 66: warning: exported method ThreadPeerDB.ListUnwelcomedByThread should have comment or be unexported (golint)
    • Line 73: warning: exported method ThreadPeerDB.WelcomeByThread should have comment or be unexported (golint)
    • Line 80: warning: exported method ThreadPeerDB.Count should have comment or be unexported (golint)
    • Line 95: warning: exported method ThreadPeerDB.Delete should have comment or be unexported (golint)
    • Line 102: warning: exported method ThreadPeerDB.DeleteById should have comment or be unexported (golint)
    • Line 109: warning: exported method ThreadPeerDB.DeleteByThread should have comment or be unexported (golint)
    • textile-go/cmd/comments.go
    • Line 7: warning: exported function CommentAdd should have comment or be unexported (golint)
    • Line 16: warning: exported function CommentList should have comment or be unexported (golint)
    • Line 25: warning: exported function CommentGet should have comment or be unexported (golint)
    • Line 34: warning: exported function CommentIgnore should have comment or be unexported (golint)
    • textile-go/repo/migrations/migration005.go
    • Line 12: warning: a blank import should be only in a main or test package, or have a comment justifying it (golint)
    • Line 34: warning: exported type Major005 should have comment or be unexported (golint)
    • Line 36: warning: exported method Major005.Up should have comment or be unexported (golint)
    • Line 187: warning: exported method Major005.Down should have comment or be unexported (golint)
    • Line 191: warning: exported method Major005.Major should have comment or be unexported (golint)
    • textile-go/repo/db/config.go
    • Line 14: warning: exported type ConfigDB should have comment or be unexported (golint)
    • Line 20: warning: exported function NewConfigStore should have comment or be unexported (golint)
    • Line 24: warning: exported method ConfigDB.Init should have comment or be unexported (golint)
    • Line 30: warning: exported method ConfigDB.Configure should have comment or be unexported (golint)
    • Line 53: warning: exported method ConfigDB.GetAccount should have comment or be unexported (golint)
    • Line 82: warning: exported method ConfigDB.GetCreationDate should have comment or be unexported (golint)
    • Line 98: warning: exported method ConfigDB.IsEncrypted should have comment or be unexported (golint)
    • Line 108: warning: exported method ConfigDB.GetLastDaily should have comment or be unexported (golint)
    • Line 127: warning: exported method ConfigDB.SetLastDaily should have comment or be unexported (golint)
    • textile-go/cmd/blocks.go
    • Line 10: warning: exported function BlockList should have comment or be unexported (golint)
    • Line 57: warning: exported function BlockMeta should have comment or be unexported (golint)
    • Line 75: warning: comment on exported function BlockIgnore should be of the form "BlockIgnore ..." (golint)
    • textile-go/core/files.go
    • Line 25: warning: exported var ErrFileNotFound should have comment or be unexported (golint)
    • Line 26: warning: exported var ErrMissingMetaLink should have comment or be unexported (golint)
    • Line 27: warning: exported var ErrMissingContentLink should have comment or be unexported (golint)
    • Line 29: warning: exported const MetaLinkName should have comment or be unexported (golint)
    • Line 30: warning: exported const ContentLinkName should have comment or be unexported (golint)
    • Line 32: warning: exported var ValidMetaLinkNames should have comment or be unexported (golint)
    • Line 33: warning: exported var ValidContentLinkNames should have comment or be unexported (golint)
    • Line 35: warning: exported type AddFileConfig should have comment or be unexported (golint)
    • Line 43: warning: exported method Textile.AddFileIndex should have comment or be unexported (golint)
    • Line 121: warning: exported method Textile.GetMedia should have comment or be unexported (golint)
    • Line 131: warning: exported method Textile.GetMillMedia should have comment or be unexported (golint)
    • Line 140: warning: exported method Textile.AddSchema should have comment or be unexported (golint)
    • Line 159: warning: exported method Textile.AddNodeFromFiles should have comment or be unexported (golint)
    • Line 184: warning: exported method Textile.AddNodeFromDirs should have comment or be unexported (golint)
    • Line 228: warning: exported method Textile.FileMeta should have comment or be unexported (golint)
    • Line 236: warning: exported method Textile.FileContent should have comment or be unexported (golint)
    • Line 248: warning: exported method Textile.FileIndexContent should have comment or be unexported (golint)
    • Line 271: warning: exported method Textile.TargetNodeKeys should have comment or be unexported (golint)
    • textile-go/jwt/jwt.go
    • Line 8: warning: comment on exported type SigningMethodEd25519 should be of the form "SigningMethodEd25519 ..." (with optional leading article) (golint)
    • Line 14: warning: comment on exported var SigningMethodEd25519i should be of the form "SigningMethodEd25519i ..." (golint)
    • Line 24: warning: exported method SigningMethodEd25519.Alg should have comment or be unexported (golint)
    • Line 28: warning: comment on exported method SigningMethodEd25519.Verify should be of the form "Verify ..." (golint)
    • Line 58: warning: comment on exported method SigningMethodEd25519.Sign should be of the form "Sign ..." (golint)
    • textile-go/mill/mill.go
    • Line 14: warning: exported var ErrMediaTypeNotSupported should have comment or be unexported (golint)
    • Line 16: warning: exported type Result should have comment or be unexported (golint)
    • Line 21: warning: exported type Mill should have comment or be unexported (golint)
    • textile-go/cmd/contacts.go
    • Line 15: warning: exported function ContactAdd should have comment or be unexported (golint)
    • Line 80: warning: exported function ContactList should have comment or be unexported (golint)
    • Line 89: warning: exported function ContactGet should have comment or be unexported (golint)
    • Line 107: warning: exported function ContactDelete should have comment or be unexported (golint)
    • Line 116: warning: exported function ContactSearch should have comment or be unexported (golint)
    • textile-go/keypair/from_address.go
    • Line 22: warning: exported method FromAddress.Address should have comment or be unexported (golint)
    • Line 26: warning: exported method FromAddress.Hint should have comment or be unexported (golint)
    • Line 31: warning: exported method FromAddress.Id should have comment or be unexported (golint)
    • Line 39: warning: exported method FromAddress.LibP2PPrivKey should have comment or be unexported (golint)
    • Line 43: warning: exported method FromAddress.LibP2PPubKey should have comment or be unexported (golint)
    • Line 57: warning: exported method FromAddress.Verify should have comment or be unexported (golint)
    • Line 70: warning: exported method FromAddress.Sign should have comment or be unexported (golint)
    • Line 74: warning: exported method FromAddress.Encrypt should have comment or be unexported (golint)
    • Line 82: warning: exported method FromAddress.Decrypt should have comment or be unexported (golint)
    • textile-go/repo/migrations/migration014.go
    • Line 8: warning: a blank import should be only in a main or test package, or have a comment justifying it (golint)
    • Line 11: warning: exported type Minor014 should have comment or be unexported (golint)
    • Line 13: warning: exported method Minor014.Up should have comment or be unexported (golint)
    • Line 64: warning: exported method Minor014.Down should have comment or be unexported (golint)
    • Line 68: warning: exported method Minor014.Major should have comment or be unexported (golint)
    • textile-go/cmd/threads.go
    • Line 17: warning: exported function ThreadAdd should have comment or be unexported (golint)
    • Line 73: warning: exported function ThreadList should have comment or be unexported (golint)
    • Line 82: warning: exported function ThreadGet should have comment or be unexported (golint)
    • Line 91: warning: exported function ThreadPeer should have comment or be unexported (golint)
    • Line 100: warning: exported function ThreadRename should have comment or be unexported (golint)
    • Line 109: warning: exported function ThreadAbandon should have comment or be unexported (golint)
    • Line 118: warning: exported function ThreadSnapshotCreate should have comment or be unexported (golint)
    • Line 131: warning: exported function ThreadSnapshotSearch should have comment or be unexported (golint)
    • Line 140: warning: exported function ThreadSnapshotApply should have comment or be unexported (golint)
    • textile-go/cmd/cmd.go
    • Line 7: warning: a blank import should be only in a main or test package, or have a comment justifying it (golint)
    • Line 12: warning: a blank import should be only in a main or test package, or have a comment justifying it (golint)
    • Line 121: warning: comment on exported var Grey should be of the form "Grey ..." (golint)
    • Line 123: warning: exported var Green should have comment or be unexported (golint)
    • Line 138: warning: exported function Run should have comment or be unexported (golint)
    • textile-go/core/cafes.go
    • Line 114: warning: comment on exported method Textile.CafeRequestThreadsContent should be of the form "CafeRequestThreadsContent ..." (golint)
    • textile-go/repo/db/invites.go
    • Line 14: warning: exported type InviteDB should have comment or be unexported (golint)
    • Line 18: warning: exported function NewInviteStore should have comment or be unexported (golint)
    • Line 22: warning: exported method InviteDB.Add should have comment or be unexported (golint)
    • Line 57: warning: exported method InviteDB.Get should have comment or be unexported (golint)
    • Line 67: warning: exported method InviteDB.List should have comment or be unexported (golint)
    • Line 73: warning: exported method InviteDB.Delete should have comment or be unexported (golint)
    • textile-go/core/threads_service.go
    • Line 36: warning: comment on exported type ThreadsService should be of the form "ThreadsService ..." (with optional leading article) (golint)
    • Line 390: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • textile-go/service/service.go
    • Line 35: warning: comment on exported type Service should be of the form "Service ..." (with optional leading article) (golint)
    • Line 53: warning: exported const PeerOnline should have comment (or a comment on this block) or be unexported (golint)
    • Line 316: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 343: warning: exported var ErrReadTimeout should have comment or be unexported (golint)
    • textile-go/core/feed_comments.go
    • Line 9: warning: exported method Textile.Comments should have comment or be unexported (golint)
    • Line 24: warning: exported method Textile.Comment should have comment or be unexported (golint)
    • textile-go/mill/image_exif.go
    • Line 14: warning: exported type ImageExifSchema should have comment or be unexported (golint)
    • Line 25: warning: exported type ImageExif should have comment or be unexported (golint)
    • Line 27: warning: exported method ImageExif.ID should have comment or be unexported (golint)
    • Line 31: warning: exported method ImageExif.Encrypt should have comment or be unexported (golint)
    • Line 35: warning: exported method ImageExif.Pin should have comment or be unexported (golint)
    • Line 39: warning: exported method ImageExif.AcceptMedia should have comment or be unexported (golint)
    • Line 47: warning: exported method ImageExif.Options should have comment or be unexported (golint)
    • Line 51: warning: exported method ImageExif.Mill should have comment or be unexported (golint)
    • textile-go/cmd/messages.go
    • Line 10: warning: exported function MessageAdd should have comment or be unexported (golint)
    • Line 31: warning: exported function MessageList should have comment or be unexported (golint)
    • Line 57: warning: exported function MessageGet should have comment or be unexported (golint)
    • Line 66: warning: exported function MessageIgnore should have comment or be unexported (golint)
    • textile-go/keypair/full.go
    • Line 14: warning: exported type Full should have comment or be unexported (golint)
    • Line 18: warning: exported method Full.Address should have comment or be unexported (golint)
    • Line 22: warning: exported method Full.Hint should have comment or be unexported (golint)
    • Line 27: warning: exported method Full.Seed should have comment or be unexported (golint)
    • Line 31: warning: exported method Full.Id should have comment or be unexported (golint)
    • Line 39: warning: exported method Full.LibP2PPrivKey should have comment or be unexported (golint)
    • Line 56: warning: exported method Full.LibP2PPubKey should have comment or be unexported (golint)
    • Line 70: warning: exported method Full.Verify should have comment or be unexported (golint)
    • Line 83: warning: exported method Full.Sign should have comment or be unexported (golint)
    • Line 88: warning: exported method Full.Encrypt should have comment or be unexported (golint)
    • Line 96: warning: exported method Full.Decrypt should have comment or be unexported (golint)
    • textile-go/repo/db/notifications.go
    • Line 13: warning: exported type NotificationDB should have comment or be unexported (golint)
    • Line 17: warning: exported function NewNotificationStore should have comment or be unexported (golint)
    • Line 21: warning: exported method NotificationDB.Add should have comment or be unexported (golint)
    • Line 54: warning: exported method NotificationDB.Get should have comment or be unexported (golint)
    • Line 71: warning: exported method NotificationDB.ReadAll should have comment or be unexported (golint)
    • Line 78: warning: exported method NotificationDB.List should have comment or be unexported (golint)
    • Line 90: warning: exported method NotificationDB.CountUnread should have comment or be unexported (golint)
    • Line 99: warning: exported method NotificationDB.Delete should have comment or be unexported (golint)
    • Line 106: warning: exported method NotificationDB.DeleteByActor should have comment or be unexported (golint)
    • Line 113: warning: exported method NotificationDB.DeleteBySubject should have comment or be unexported (golint)
    • Line 120: warning: exported method NotificationDB.DeleteByBlock should have comment or be unexported (golint)
    • textile-go/cmd/files.go
    • Line 53: warning: exported function FileAdd should have comment or be unexported (golint)
    • Line 425: warning: exported function FileListThread should have comment or be unexported (golint)
    • Line 453: warning: exported function FileListBlock should have comment or be unexported (golint)
    • Line 471: warning: exported function FileGetBlock should have comment or be unexported (golint)
    • Line 513: warning: exported function FileGet should have comment or be unexported (golint)
    • Line 517: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 530: warning: exported function FileIgnore should have comment or be unexported (golint)
    • Line 537: warning: exported function FileKeys should have comment or be unexported (golint)
    • textile-go/cmd/likes.go
    • Line 7: warning: exported function LikeAdd should have comment or be unexported (golint)
    • Line 16: warning: exported function LikeList should have comment or be unexported (golint)
    • Line 25: warning: exported function LikeGet should have comment or be unexported (golint)
    • Line 34: warning: exported function LikeIgnore should have comment or be unexported (golint)
    • textile-go/repo/db/cafe_tokens.go
    • Line 12: warning: exported type CafeTokenDB should have comment or be unexported (golint)
    • Line 16: warning: exported function NewCafeTokenStore should have comment or be unexported (golint)
    • Line 20: warning: exported method CafeTokenDB.Add should have comment or be unexported (golint)
    • Line 46: warning: exported method CafeTokenDB.Get should have comment or be unexported (golint)
    • Line 56: warning: exported method CafeTokenDB.List should have comment or be unexported (golint)
    • Line 63: warning: exported method CafeTokenDB.Delete should have comment or be unexported (golint)
    • textile-go/cmd/invites.go
    • Line 13: warning: exported function InviteCreate should have comment or be unexported (golint)
    • Line 91: warning: exported function InviteList should have comment or be unexported (golint)
    • Line 100: warning: exported function InviteAccept should have comment or be unexported (golint)
    • Line 114: warning: exported function InviteIgnore should have comment or be unexported (golint)
    • textile-go/repo/migrations/migration017.go
    • Line 8: warning: a blank import should be only in a main or test package, or have a comment justifying it (golint)
    • Line 11: warning: exported type Minor017 should have comment or be unexported (golint)
    • Line 13: warning: exported method Minor017.Up should have comment or be unexported (golint)
    • Line 50: warning: exported method Minor017.Down should have comment or be unexported (golint)
    • Line 54: warning: exported method Minor017.Major should have comment or be unexported (golint)
    • textile-go/repo/db/block_messages.go
    • Line 14: warning: exported type BlockMessageDB should have comment or be unexported (golint)
    • Line 18: warning: exported function NewBlockMessageStore should have comment or be unexported (golint)
    • Line 22: warning: exported method BlockMessageDB.Add should have comment or be unexported (golint)
    • Line 56: warning: exported method BlockMessageDB.List should have comment or be unexported (golint)
    • Line 73: warning: exported method BlockMessageDB.Delete should have comment or be unexported (golint)
    • textile-go/cmd/account.go
    • Line 20: warning: exported function AccountGet should have comment or be unexported (golint)
    • Line 29: warning: exported function AccountSeed should have comment or be unexported (golint)
    • Line 38: warning: exported function AccountAddress should have comment or be unexported (golint)
    • Line 47: warning: exported function AccountSync should have comment or be unexported (golint)
    • textile-go/wallet/wallet.go
    • Line 10: warning: exported var ErrInvalidWordCount should have comment or be unexported (golint)
    • Line 12: warning: exported type WordCount should have comment or be unexported (golint)
    • Line 15: warning: exported const TwelveWords should have comment (or a comment on this block) or be unexported (golint)
    • Line 22: warning: exported function NewWordCount should have comment or be unexported (golint)
    • Line 41: warning: exported method WordCount.EntropySize should have comment or be unexported (golint)
    • Line 65: warning: exported function WalletFromWordCount should have comment or be unexported (golint)
    • Line 74: warning: exported function WalletFromEntropy should have comment or be unexported (golint)
    • Line 86: warning: exported function WalletFromMnemonic should have comment or be unexported (golint)
    • Line 90: warning: comment on exported method Wallet.AccountAt should be of the form "AccountAt ..." (golint)
    • textile-go/ipfs/ipfs.go
    • Line 27: warning: exported const DefaultTimeout should have comment or be unexported (golint)
    • Line 28: warning: exported const PinTimeout should have comment or be unexported (golint)
    • Line 29: warning: exported const CatTimeout should have comment or be unexported (golint)
    • Line 30: warning: exported const ConnectTimeout should have comment or be unexported (golint)
    • Line 228: warning: exported type Node should have comment or be unexported (golint)
    • Line 233: warning: exported type Link should have comment or be unexported (golint)
    • textile-go/ipfs/pubsub.go
    • Line 17: warning: exported const PublishTimeout should have comment or be unexported (golint)
    • Line 34: warning: context.Context should be the first parameter of a function (golint)
    • Line 58: warning: context.Context should be the first parameter of a function (golint)
    • textile-go/repo/db/blocks.go
    • Line 14: warning: exported type BlockDB should have comment or be unexported (golint)
    • Line 18: warning: exported function NewBlockStore should have comment or be unexported (golint)
    • Line 22: warning: exported method BlockDB.Add should have comment or be unexported (golint)
    • Line 61: warning: exported method BlockDB.Replace should have comment or be unexported (golint)
    • Line 102: warning: exported method BlockDB.Get should have comment or be unexported (golint)
    • Line 113: warning: exported method BlockDB.List should have comment or be unexported (golint)
    • Line 132: warning: exported method BlockDB.Count should have comment or be unexported (golint)
    • Line 149: warning: exported method BlockDB.Delete should have comment or be unexported (golint)
    • Line 157: warning: exported method BlockDB.DeleteByThread should have comment or be unexported (golint)
    • Line 165: warning: exported method BlockDB.AddAttempt should have comment or be unexported (golint)
    • textile-go/repo/db/cafe_client_nonces.go
    • Line 12: warning: exported type CafeClientNonceDB should have comment or be unexported (golint)
    • Line 16: warning: exported function NewCafeClientNonceStore should have comment or be unexported (golint)
    • Line 20: warning: exported method CafeClientNonceDB.Add should have comment or be unexported (golint)
    • Line 46: warning: exported method CafeClientNonceDB.Get should have comment or be unexported (golint)
    • Line 56: warning: exported method CafeClientNonceDB.Delete should have comment or be unexported (golint)
    • textile-go/util/tests.go
    • Line 8: warning: exported var TestContact should have comment or be unexported (golint)
    • Line 32: warning: exported const TestLogSchema should have comment (or a comment on this block) or be unexported (golint)
    • textile-go/repo/db/cafe_requests.go
    • Line 14: warning: exported type CafeRequestDB should have comment or be unexported (golint)
    • Line 18: warning: exported function NewCafeRequestStore should have comment or be unexported (golint)
    • Line 22: warning: exported method CafeRequestDB.Add should have comment or be unexported (golint)
    • Line 69: warning: exported method CafeRequestDB.Get should have comment or be unexported (golint)
    • Line 81: warning: exported method CafeRequestDB.GetGroup should have comment or be unexported (golint)
    • Line 88: warning: exported method CafeRequestDB.GetSyncGroup should have comment or be unexported (golint)
    • Line 113: warning: exported method CafeRequestDB.Count should have comment or be unexported (golint)
    • Line 130: warning: exported method CafeRequestDB.List should have comment or be unexported (golint)
    • Line 143: warning: exported method CafeRequestDB.ListGroups should have comment or be unexported (golint)
    • Line 172: warning: exported method CafeRequestDB.SyncGroupComplete should have comment or be unexported (golint)
    • Line 213: warning: exported method CafeRequestDB.SyncGroupStatus should have comment or be unexported (golint)
    • Line 261: warning: exported method CafeRequestDB.UpdateStatus should have comment or be unexported (golint)
    • Line 269: warning: exported method CafeRequestDB.UpdateGroupStatus should have comment or be unexported (golint)
    • Line 277: warning: exported method CafeRequestDB.UpdateGroupProgress should have comment or be unexported (golint)
    • Line 287: warning: exported method CafeRequestDB.AddAttempt should have comment or be unexported (golint)
    • Line 295: warning: exported method CafeRequestDB.Delete should have comment or be unexported (golint)
    • Line 303: warning: exported method CafeRequestDB.DeleteByGroup should have comment or be unexported (golint)
    • Line 311: warning: exported method CafeRequestDB.DeleteBySyncGroup should have comment or be unexported (golint)
    • Line 319: warning: exported method CafeRequestDB.DeleteCompleteSyncGroups should have comment or be unexported (golint)
    • Line 343: warning: exported method CafeRequestDB.DeleteByCafe should have comment or be unexported (golint)
    • textile-go/cmd/ipfs.go
    • Line 16: warning: exported function IpfsPeer should have comment or be unexported (golint)
    • Line 25: warning: exported function IpfsSwarmConnect should have comment or be unexported (golint)
    • Line 36: warning: exported function IpfsSwarmPeers should have comment or be unexported (golint)
    • Line 52: warning: exported function IpfsCat should have comment or be unexported (golint)
    • Line 58: warning: exported function IpfsPubsubPub should have comment or be unexported (golint)
    • Line 69: warning: exported function IpfsPubsubSubCommand should have comment or be unexported (golint)
    • Line 92: warning: exported function IpfsPubsubSub should have comment or be unexported (golint)
    • textile-go/repo/init.go
    • Line 23: warning: exported var ErrRepoExists should have comment or be unexported (golint)
    • Line 24: warning: exported var ErrRepoDoesNotExist should have comment or be unexported (golint)
    • Line 25: warning: exported var ErrMigrationRequired should have comment or be unexported (golint)
    • Line 26: warning: exported var ErrRepoCorrupted should have comment or be unexported (golint)
    • Line 28: warning: exported const Repover should have comment or be unexported (golint)
    • Line 30: warning: exported function Init should have comment or be unexported (golint)
    • Line 97: warning: exported function LoadPlugins should have comment or be unexported (golint)
    • textile-go/repo/migrations/migration008.go
    • Line 8: warning: a blank import should be only in a main or test package, or have a comment justifying it (golint)
    • Line 11: warning: exported type Minor008 should have comment or be unexported (golint)
    • Line 13: warning: exported method Minor008.Up should have comment or be unexported (golint)
    • Line 55: warning: exported method Minor008.Down should have comment or be unexported (golint)
    • Line 59: warning: exported method Minor008.Major should have comment or be unexported (golint)
    • textile-go/api/api.go
    • Line 42: warning: comment on exported type Api should be of the form "Api ..." (with optional leading article) (golint)
    • Line 87: warning: comment on exported method Api.Run should be of the form "Run ..." (golint)
    • textile-go/cmd/tokens.go
    • Line 8: warning: exported function TokenCreate should have comment or be unexported (golint)
    • Line 22: warning: exported function TokenList should have comment or be unexported (golint)
    • Line 31: warning: exported function TokenValidate should have comment or be unexported (golint)
    • Line 40: warning: exported function TokenRemove should have comment or be unexported (golint)
    • textile-go/cmd/cafes.go
    • Line 7: warning: exported function CafeAdd should have comment or be unexported (golint)
    • Line 19: warning: exported function CafeList should have comment or be unexported (golint)
    • Line 28: warning: exported function CafeGet should have comment or be unexported (golint)
    • Line 37: warning: exported function CafeDelete should have comment or be unexported (golint)
    • Line 46: warning: exported function CafeMessages should have comment or be unexported (golint)
    • textile-go/mill/image_resize.go
    • Line 23: warning: exported const JPEG should have comment (or a comment on this block) or be unexported (golint)
    • Line 28: warning: exported type ImageSize should have comment or be unexported (golint)
    • Line 33: warning: exported type ImageResizeOpts should have comment or be unexported (golint)
    • Line 38: warning: exported type ImageResize should have comment or be unexported (golint)
    • Line 42: warning: exported method ImageResize.ID should have comment or be unexported (golint)
    • Line 46: warning: exported method ImageResize.Encrypt should have comment or be unexported (golint)
    • Line 50: warning: exported method ImageResize.Pin should have comment or be unexported (golint)
    • Line 54: warning: exported method ImageResize.AcceptMedia should have comment or be unexported (golint)
    • Line 62: warning: exported method ImageResize.Options should have comment or be unexported (golint)
    • Line 66: warning: exported method ImageResize.Mill should have comment or be unexported (golint)
    • textile-go/repo/migrations/migration000.go
    • Line 8: warning: a blank import should be only in a main or test package, or have a comment justifying it (golint)
    • Line 11: warning: exported type Minor000 should have comment or be unexported (golint)
    • Line 13: warning: exported method Minor000.Up should have comment or be unexported (golint)
    • Line 59: warning: exported method Minor000.Down should have comment or be unexported (golint)
    • Line 63: warning: exported method Minor000.Major should have comment or be unexported (golint)
    • textile-go/repo/db/peers.go
    • Line 14: warning: exported type PeerDB should have comment or be unexported (golint)
    • Line 18: warning: exported function NewPeerStore should have comment or be unexported (golint)
    • Line 22: warning: exported method PeerDB.Add should have comment or be unexported (golint)
    • Line 70: warning: exported method PeerDB.AddOrUpdate should have comment or be unexported (golint)
    • Line 115: warning: exported method PeerDB.Get should have comment or be unexported (golint)
    • Line 125: warning: exported method PeerDB.GetBestUser should have comment or be unexported (golint)
    • Line 162: warning: exported method PeerDB.List should have comment or be unexported (golint)
    • Line 173: warning: exported method PeerDB.Find should have comment or be unexported (golint)
    • Line 202: warning: exported method PeerDB.Count should have comment or be unexported (golint)
    • Line 216: warning: exported method PeerDB.UpdateName should have comment or be unexported (golint)
    • Line 223: warning: exported method PeerDB.UpdateAvatar should have comment or be unexported (golint)
    • Line 230: warning: exported method PeerDB.UpdateInboxes should have comment or be unexported (golint)
    • Line 241: warning: exported method PeerDB.Delete should have comment or be unexported (golint)
    • Line 248: warning: exported method PeerDB.DeleteByAddress should have comment or be unexported (golint)
    • textile-go/jwt/session.go
    • Line 17: warning: exported var ErrClaimsInvalid should have comment or be unexported (golint)
    • Line 18: warning: exported var ErrNoToken should have comment or be unexported (golint)
    • Line 19: warning: exported var ErrExpired should have comment or be unexported (golint)
    • Line 20: warning: exported var ErrInvalid should have comment or be unexported (golint)
    • Line 22: warning: exported type TextileClaims should have comment or be unexported (golint)
    • Line 27: warning: exported type Scope should have comment or be unexported (golint)
    • Line 30: warning: exported const Access should have comment (or a comment on this block) or be unexported (golint)
    • Line 34: warning: exported function NewSession should have comment or be unexported (golint)
    • Line 99: warning: exported function ParseClaims should have comment or be unexported (golint)
    • Line 115: warning: exported function Validate should have comment or be unexported (golint)
    • textile-go/repo/migrations/migration006.go
    • Line 14: warning: a blank import should be only in a main or test package, or have a comment justifying it (golint)
    • Line 47: warning: exported type Minor006 should have comment or be unexported (golint)
    • Line 49: warning: exported method Minor006.Up should have comment or be unexported (golint)
    • Line 175: warning: exported method Minor006.Down should have comment or be unexported (golint)
    • Line 179: warning: exported method Minor006.Major should have comment or be unexported (golint)
    • textile-go/repo/migrations/migration010.go
    • Line 8: warning: a blank import should be only in a main or test package, or have a comment justifying it (golint)
    • Line 11: warning: exported type Minor010 should have comment or be unexported (golint)
    • Line 13: warning: exported method Minor010.Up should have comment or be unexported (golint)
    • textile-go/repo/db/cafe_clients.go
    • Line 13: warning: exported type CafeClientDB should have comment or be unexported (golint)
    • Line 17: warning: exported function NewCafeClientStore should have comment or be unexported (golint)
    • Line 21: warning: exported method CafeClientDB.Add should have comment or be unexported (golint)
    • Line 49: warning: exported method CafeClientDB.Get should have comment or be unexported (golint)
    • Line 59: warning: exported method CafeClientDB.Count should have comment or be unexported (golint)
    • Line 68: warning: exported method CafeClientDB.List should have comment or be unexported (golint)
    • Line 75: warning: exported method CafeClientDB.ListByAddress should have comment or be unexported (golint)
    • Line 82: warning: exported method CafeClientDB.UpdateLastSeen should have comment or be unexported (golint)
    • Line 89: warning: exported method CafeClientDB.Delete should have comment or be unexported (golint)

license100%

Checks whether your project has a LICENSE file.

No problems detected. Good job!


ineffassign98%

IneffAssign detects ineffectual assignments in Go code.


misspell96%

Misspell Finds commonly misspelled English words