Preparing report...

Report for github.com/developertask/openbazaar-go

(v0.0.0-20200324164205-8d0bd5637146)

A    Great!    Found 196 issues across 300 files

Tweet

gofmt86%

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!


gocyclo76%

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.

    • cmd/encrypt.go
    • Line 23: warning: cyclomatic complexity 22 of function (*EncryptDatabase).Execute() is high (> 15) (gocyclo)
    • net/service/service.go
    • Line 78: warning: cyclomatic complexity 19 of function (*developertaskService).handleNewMessage() is high (> 15) (gocyclo)
    • core/fulfillment.go
    • Line 27: warning: cyclomatic complexity 35 of function (*developertaskNode).FulfillOrder() is high (> 15) (gocyclo)
    • Line 199: warning: cyclomatic complexity 26 of function (*developertaskNode).ValidateOrderFulfillment() is high (> 15) (gocyclo)
    • api/jsonapi.go
    • Line 1800: warning: cyclomatic complexity 27 of function (*jsonAPIHandler).GETModerators() is high (> 15) (gocyclo)
    • Line 99: warning: cyclomatic complexity 26 of function (*jsonAPIHandler).ServeHTTP() is high (> 15) (gocyclo)
    • Line 3631: warning: cyclomatic complexity 23 of function (*jsonAPIHandler).POSTFetchRatings() is high (> 15) (gocyclo)
    • Line 2004: warning: cyclomatic complexity 20 of function (*jsonAPIHandler).POSTOrderComplete() is high (> 15) (gocyclo)
    • Line 2084: warning: cyclomatic complexity 19 of function (*jsonAPIHandler).POSTOpenDispute() is high (> 15) (gocyclo)
    • Line 1465: warning: cyclomatic complexity 18 of function (*jsonAPIHandler).GETListing() is high (> 15) (gocyclo)
    • Line 2811: warning: cyclomatic complexity 17 of function (*jsonAPIHandler).POSTFetchProfiles() is high (> 15) (gocyclo)
    • repo/db/cases.go
    • Line 209: warning: cyclomatic complexity 19 of function (*CasesDB).GetAll() is high (> 15) (gocyclo)
    • Line 326: warning: cyclomatic complexity 16 of function (*CasesDB).GetCaseMetadata() is high (> 15) (gocyclo)
    • core/disputes.go
    • Line 251: warning: cyclomatic complexity 61 of function (*developertaskNode).ProcessDisputeOpen() is high (> 15) (gocyclo)
    • Line 485: warning: cyclomatic complexity 47 of function (*developertaskNode).CloseDispute() is high (> 15) (gocyclo)
    • Line 805: warning: cyclomatic complexity 43 of function (*developertaskNode).ValidateCaseContract() is high (> 15) (gocyclo)
    • Line 1069: warning: cyclomatic complexity 29 of function (*developertaskNode).ReleaseFunds() is high (> 15) (gocyclo)
    • Line 50: warning: cyclomatic complexity 17 of function (*developertaskNode).OpenDispute() is high (> 15) (gocyclo)
    • repo/migrations/Migration028.go
    • Line 490: warning: cyclomatic complexity 48 of function (migrateListingsToV5Schema).Down() is high (> 15) (gocyclo)
    • Line 229: warning: cyclomatic complexity 42 of function (migrateListingsToV5Schema).Up() is high (> 15) (gocyclo)
    • net/service/handlers.go
    • Line 287: warning: cyclomatic complexity 47 of function (*developertaskService).handleOrder() is high (> 15) (gocyclo)
    • Line 692: warning: cyclomatic complexity 40 of function (*developertaskService).handleReject() is high (> 15) (gocyclo)
    • Line 1137: warning: cyclomatic complexity 38 of function (*developertaskService).handleOrderCompletion() is high (> 15) (gocyclo)
    • Line 879: warning: cyclomatic complexity 34 of function (*developertaskService).handleRefund() is high (> 15) (gocyclo)
    • Line 1451: warning: cyclomatic complexity 27 of function (*developertaskService).handleDisputeClose() is high (> 15) (gocyclo)
    • Line 1613: warning: cyclomatic complexity 26 of function analyzeForMissingMessages() is high (> 15) (gocyclo)
    • Line 35: warning: cyclomatic complexity 25 of function (*developertaskService).HandlerForMsgType() is high (> 15) (gocyclo)
    • Line 511: warning: cyclomatic complexity 24 of function (*developertaskService).handleOrderConfirmation() is high (> 15) (gocyclo)
    • Line 1344: warning: cyclomatic complexity 23 of function (*developertaskService).handleDisputeUpdate() is high (> 15) (gocyclo)
    • Line 1030: warning: cyclomatic complexity 23 of function (*developertaskService).handleOrderFulfillment() is high (> 15) (gocyclo)
    • Line 1946: warning: cyclomatic complexity 23 of function (*developertaskService).handleOrderPayment() is high (> 15) (gocyclo)
    • Line 1651: warning: cyclomatic complexity 16 of function (*developertaskService).handleChat() is high (> 15) (gocyclo)
    • core/refunds.go
    • Line 18: warning: cyclomatic complexity 24 of function (*developertaskNode).RefundOrder() is high (> 15) (gocyclo)
    • cmd/decrypt.go
    • Line 23: warning: cyclomatic complexity 17 of function (*DecryptDatabase).Execute() is high (> 15) (gocyclo)
    • cmd/restore.go
    • Line 57: warning: cyclomatic complexity 51 of function (*Restore).Execute() is high (> 15) (gocyclo)
    • wallet/listeners/transaction_listener.go
    • Line 58: warning: cyclomatic complexity 42 of function (*TransactionListener).OnTransactionReceived() is high (> 15) (gocyclo)
    • Line 215: warning: cyclomatic complexity 19 of function (*TransactionListener).processSalePayment() is high (> 15) (gocyclo)
    • Line 378: warning: cyclomatic complexity 18 of function (*TransactionListener).adjustInventory() is high (> 15) (gocyclo)
    • Line 312: warning: cyclomatic complexity 16 of function (*TransactionListener).processPurchasePayment() is high (> 15) (gocyclo)
    • repo/migrations/Migration020.go
    • Line 28: warning: cyclomatic complexity 18 of function (Migration020).Up() is high (> 15) (gocyclo)
    • Line 121: warning: cyclomatic complexity 18 of function (Migration020).Down() is high (> 15) (gocyclo)
    • repo/init.go
    • Line 29: warning: cyclomatic complexity 16 of function DoInit() is high (> 15) (gocyclo)
    • core/utils.go
    • Line 26: warning: cyclomatic complexity 25 of function (*developertaskNode).BuildTransactionRecords() is high (> 15) (gocyclo)
    • cmd/setapicreds.go
    • Line 28: warning: cyclomatic complexity 18 of function (*SetAPICreds).Execute() is high (> 15) (gocyclo)
    • core/listings_test.go
    • Line 11: warning: cyclomatic complexity 16 of function TestdevelopertaskNode_SetCurrencyOnListings() is high (> 15) (gocyclo)
    • repo/listing.go
    • Line 1217: warning: cyclomatic complexity 116 of function (*Listing).ValidateListing() is high (> 15) (gocyclo)
    • Line 1574: warning: cyclomatic complexity 25 of function (*Listing).validatePhysicalListing() is high (> 15) (gocyclo)
    • core/spend.go
    • Line 49: warning: cyclomatic complexity 29 of function (*developertaskNode).Spend() is high (> 15) (gocyclo)
    • repo/db/cases_test.go
    • Line 562: warning: cyclomatic complexity 29 of function TestCasesDB_GetAll() is high (> 15) (gocyclo)
    • Line 343: warning: cyclomatic complexity 25 of function TestCasesGetCaseMetaData() is high (> 15) (gocyclo)
    • Line 425: warning: cyclomatic complexity 22 of function TestGetByCaseID() is high (> 15) (gocyclo)
    • Line 679: warning: cyclomatic complexity 19 of function TestGetDisputesForDisputeExpiryReturnsRelevantRecords() is high (> 15) (gocyclo)
    • repo/migrations/Migration018.go
    • Line 17: warning: cyclomatic complexity 20 of function (Migration018).Up() is high (> 15) (gocyclo)
    • Line 132: warning: cyclomatic complexity 19 of function (Migration018).Down() is high (> 15) (gocyclo)
    • repo/profile.go
    • Line 129: warning: cyclomatic complexity 21 of function (*Profile).validateModeratorFees() is high (> 15) (gocyclo)
    • cmd/start.go
    • Line 94: warning: cyclomatic complexity 118 of function (*Start).Execute() is high (> 15) (gocyclo)
    • api/endpoints.go
    • Line 26: warning: cyclomatic complexity 47 of function post() is high (> 15) (gocyclo)
    • Line 126: warning: cyclomatic complexity 44 of function get() is high (> 15) (gocyclo)
    • core/posts.go
    • Line 533: warning: cyclomatic complexity 32 of function validatePost() is high (> 15) (gocyclo)
    • mobile/node.go
    • Line 100: warning: cyclomatic complexity 28 of function NewNodeWithConfig() is high (> 15) (gocyclo)
    • Line 361: warning: cyclomatic complexity 21 of function (*Node).start() is high (> 15) (gocyclo)
    • repo/db/sales_test.go
    • Line 377: warning: cyclomatic complexity 26 of function TestSalesDB_GetAll() is high (> 15) (gocyclo)
    • Line 60: warning: cyclomatic complexity 17 of function TestPutSale() is high (> 15) (gocyclo)
    • Line 639: warning: cyclomatic complexity 16 of function TestUpdateSaleLastDisputeTimeoutNotifiedAt() is high (> 15) (gocyclo)
    • Line 535: warning: cyclomatic complexity 16 of function TestGetSalesForDisputeTimeoutReturnsRelevantRecords() is high (> 15) (gocyclo)
    • core/listings.go
    • Line 128: warning: cyclomatic complexity 23 of function (*developertaskNode).saveListing() is high (> 15) (gocyclo)
    • core/confirmation.go
    • Line 188: warning: cyclomatic complexity 21 of function (*developertaskNode).RejectOfflineOrder() is high (> 15) (gocyclo)
    • Line 283: warning: cyclomatic complexity 19 of function (*developertaskNode).ValidateOrderConfirmation() is high (> 15) (gocyclo)
    • Line 101: warning: cyclomatic complexity 18 of function (*developertaskNode).ConfirmOfflineOrder() is high (> 15) (gocyclo)
    • core/record_aging_notifier_test.go
    • Line 21: warning: cyclomatic complexity 53 of function TestPerformTaskCreatesModeratorDisputeExpiryNotifications() is high (> 15) (gocyclo)
    • Line 381: warning: cyclomatic complexity 51 of function TestPerformTaskCreatesBuyerDisputeTimeoutNotifications() is high (> 15) (gocyclo)
    • Line 691: warning: cyclomatic complexity 43 of function TestPerformTaskCreatesPurchaseExpiryNotifications() is high (> 15) (gocyclo)
    • Line 967: warning: cyclomatic complexity 30 of function TestPerformTaskCreatesVendorDisputeTimeoutNotifications() is high (> 15) (gocyclo)
    • core/completion.go
    • Line 64: warning: cyclomatic complexity 44 of function (*developertaskNode).CompleteOrder() is high (> 15) (gocyclo)
    • Line 307: warning: cyclomatic complexity 22 of function (*developertaskNode).ReleaseFundsAfterTimeout() is high (> 15) (gocyclo)
    • Line 431: warning: cyclomatic complexity 21 of function (*developertaskNode).ValidateAndSaveRating() is high (> 15) (gocyclo)
    • core/order.go
    • Line 1242: warning: cyclomatic complexity 69 of function (*developertaskNode).ValidateOrder() is high (> 15) (gocyclo)
    • Line 905: warning: cyclomatic complexity 33 of function (*developertaskNode).CalculateOrderTotal() is high (> 15) (gocyclo)
    • Line 1040: warning: cyclomatic complexity 30 of function (*developertaskNode).calculateShippingTotalForListings() is high (> 15) (gocyclo)
    • Line 532: warning: cyclomatic complexity 28 of function (*developertaskNode).createContractWithOrder() is high (> 15) (gocyclo)
    • Line 202: warning: cyclomatic complexity 20 of function prepareModeratedOrderContract() is high (> 15) (gocyclo)
    • Line 822: warning: cyclomatic complexity 17 of function (*developertaskNode).CancelOfflineOrder() is high (> 15) (gocyclo)
    • core/order_test.go
    • Line 14: warning: cyclomatic complexity 38 of function TestdevelopertaskNode_CalculateOrderTotal() is high (> 15) (gocyclo)
    • Line 298: warning: cyclomatic complexity 38 of function TestdevelopertaskNode_CalculateOrderTotalWithV4Schema() is high (> 15) (gocyclo)
    • core/ratings.go
    • Line 22: warning: cyclomatic complexity 28 of function ValidateRating() is high (> 15) (gocyclo)
    • repo/migrations/Migration006_test.go
    • Line 17: warning: cyclomatic complexity 24 of function TestMigration006() is high (> 15) (gocyclo)
    • Line 152: warning: cyclomatic complexity 16 of function TestMigration006HandlesMissingSettings() is high (> 15) (gocyclo)
    • wallet/builder.go
    • Line 117: warning: cyclomatic complexity 16 of function createAPIWallet() is high (> 15) (gocyclo)
    • Line 61: warning: cyclomatic complexity 16 of function NewMultiWallet() is high (> 15) (gocyclo)
    • repo/db/purchases_test.go
    • Line 366: warning: cyclomatic complexity 26 of function TestPurchasesDB_GetAll() is high (> 15) (gocyclo)
    • Line 729: warning: cyclomatic complexity 19 of function TestGetPurchasesForDisputeExpiryNotificationReturnsRelevantRecords() is high (> 15) (gocyclo)
    • Line 524: warning: cyclomatic complexity 17 of function TestGetPurchasesForDisputeTimeoutReturnsRelevantRecords() is high (> 15) (gocyclo)
    • Line 837: warning: cyclomatic complexity 16 of function TestUpdatePurchaseLastDisputeExpiryNotifiedAt() is high (> 15) (gocyclo)
    • Line 635: warning: cyclomatic complexity 16 of function TestUpdatePurchaseLastDisputeTimeoutNotifiedAt() is high (> 15) (gocyclo)
    • core/moderation.go
    • Line 54: warning: cyclomatic complexity 20 of function (*developertaskNode).SetSelfAsModerator() is high (> 15) (gocyclo)
    • core/profile.go
    • Line 300: warning: cyclomatic complexity 51 of function ValidateProfile() is high (> 15) (gocyclo)
    • Line 134: warning: cyclomatic complexity 21 of function (*developertaskNode).PatchProfile() is high (> 15) (gocyclo)
    • repo/db/chat_test.go
    • Line 234: warning: cyclomatic complexity 34 of function TestChatDB_MarkAsRead() is high (> 15) (gocyclo)
    • Line 122: warning: cyclomatic complexity 22 of function TestChatDB_GetMessages() is high (> 15) (gocyclo)
    • core/record_aging_notifier.go
    • Line 351: warning: cyclomatic complexity 20 of function (*recordAgingNotifier).generateModeratorDisputeExpiryNotifications() is high (> 15) (gocyclo)
    • Line 189: warning: cyclomatic complexity 20 of function (*recordAgingNotifier).generateBuyerDisputeTimeoutNotifications() is high (> 15) (gocyclo)
    • Line 272: warning: cyclomatic complexity 18 of function (*recordAgingNotifier).generateBuyerDisputeExpiryNotifications() is high (> 15) (gocyclo)

golint52%

Golint is a linter for Go source code.

    • test/repo.go
    • Line 38: warning: exported function ResetRepository should have comment or be unexported (golint)
    • net/stun.go
    • Line 12: warning: exported var STUN_SERVERS should have comment or be unexported (golint)
    • Line 21: warning: exported var STUN_PORT should have comment or be unexported (golint)
    • Line 25: warning: don't use underscores in Go names; const _NATType_name should be _NATTypeName (golint)
    • Line 27: warning: don't use underscores in Go names; var _NATType_index should be _NATTypeIndex (golint)
    • Line 31: warning: exported function Stun should have comment or be unexported (golint)
    • Line 45: warning: exported function NATtoString should have comment or be unexported (golint)
    • Line 52: warning: exported function Shuffle should have comment or be unexported (golint)
    • repo/migrations/Migration003.go
    • Line 11: warning: exported type Migration003 should have comment or be unexported (golint)
    • Line 13: warning: exported method Migration003.Up should have comment or be unexported (golint)
    • Line 56: warning: exported method Migration003.Down should have comment or be unexported (golint)
    • repo/migrations/Migration015.go
    • Line 103: warning: exported type Migration015 should have comment or be unexported (golint)
    • Line 105: warning: exported method Migration015.Up should have comment or be unexported (golint)
    • Line 137: warning: exported method Migration015.Down should have comment or be unexported (golint)
    • repo/migrations/Migration016.go
    • Line 17: warning: exported type Migration016WalletsConfig should have comment or be unexported (golint)
    • Line 118: warning: exported type Migration016 should have comment or be unexported (golint)
    • Line 120: warning: exported method Migration016.Up should have comment or be unexported (golint)
    • Line 150: warning: exported method Migration016.Down should have comment or be unexported (golint)
    • repo/constants.go
    • Line 4: warning: comment on exported const DisputeOptionTimeoutHours should be of the form "DisputeOptionTimeoutHours ..." (golint)
    • Line 6: warning: comment on exported const DisputeTotalDurationHours should be of the form "DisputeTotalDurationHours ..." (golint)
    • Line 9: warning: exported const NotifierTypeBuyerDisputeTimeout should have comment (or a comment on this block) or be unexported (golint)
    • Line 41: warning: exported type NotificationType should have comment or be unexported (golint)
    • repo/init.go
    • Line 20: warning: exported const RepoVersion should have comment or be unexported (golint)
    • Line 23: warning: exported var ErrRepoExists should have comment or be unexported (golint)
    • Line 29: warning: exported function DoInit should have comment or be unexported (golint)
    • storage/storage.go
    • Line 8: warning: exported type OfflineMessagingStorage should have comment or be unexported (golint)
    • ipfs/resolve.go
    • Line 87: warning: exported function ResolveAltRoot should have comment or be unexported (golint)
    • repo/migrations/Migration017.go
    • Line 12: warning: exported var Migration017PushToBefore should have comment or be unexported (golint)
    • Line 29: warning: exported type Migration017 should have comment or be unexported (golint)
    • Line 31: warning: exported method Migration017.Up should have comment or be unexported (golint)
    • Line 61: warning: exported method Migration017.Down should have comment or be unexported (golint)
    • repo/payout_ratio.go
    • Line 5: warning: exported type PayoutRatio should have comment or be unexported (golint)
    • Line 7: warning: exported method PayoutRatio.Validate should have comment or be unexported (golint)
    • Line 20: warning: exported method PayoutRatio.BuyerAny should have comment or be unexported (golint)
    • Line 21: warning: exported method PayoutRatio.VendorAny should have comment or be unexported (golint)
    • Line 22: warning: exported method PayoutRatio.BuyerMajority should have comment or be unexported (golint)
    • Line 23: warning: exported method PayoutRatio.VendorMajority should have comment or be unexported (golint)
    • Line 24: warning: exported method PayoutRatio.EvenMajority should have comment or be unexported (golint)
    • repo/db/inventory.go
    • Line 16: warning: exported type InventoryDB should have comment or be unexported (golint)
    • Line 20: warning: exported function NewInventoryStore should have comment or be unexported (golint)
    • Line 24: warning: exported method InventoryDB.Put should have comment or be unexported (golint)
    • Line 42: warning: exported method InventoryDB.GetSpecific should have comment or be unexported (golint)
    • Line 62: warning: exported method InventoryDB.Get should have comment or be unexported (golint)
    • Line 97: warning: exported method InventoryDB.GetAll should have comment or be unexported (golint)
    • Line 134: warning: exported method InventoryDB.Delete should have comment or be unexported (golint)
    • Line 141: warning: exported method InventoryDB.DeleteAll should have comment or be unexported (golint)
    • repo/migrations/Migration001.go
    • Line 11: warning: exported type Migration001 should have comment or be unexported (golint)
    • Line 13: warning: exported method Migration001.Up should have comment or be unexported (golint)
    • Line 119: warning: exported method Migration001.Down should have comment or be unexported (golint)
    • repo/migrations/Migration029.go
    • Line 10: warning: a blank import should be only in a main or test package, or have a comment justifying it (golint)
    • Line 14: warning: don't use underscores in Go names; var AM02_up_create_sales should be AM02UpCreateSales (golint)
    • Line 14: warning: exported var AM02_up_create_sales should have comment or be unexported (golint)
    • Line 15: warning: don't use underscores in Go names; var AM02_down_create_sales should be AM02DownCreateSales (golint)
    • Line 16: warning: don't use underscores in Go names; var AM02_temp_sales should be AM02TempSales (golint)
    • Line 17: warning: don't use underscores in Go names; var AM02_insert_sales should be AM02InsertSales (golint)
    • Line 18: warning: don't use underscores in Go names; var AM02_drop_temp_sales should be AM02DropTempSales (golint)
    • Line 20: warning: don't use underscores in Go names; var AM02_up_create_purchases should be AM02UpCreatePurchases (golint)
    • Line 21: warning: don't use underscores in Go names; var AM02_down_create_purchases should be AM02DownCreatePurchases (golint)
    • Line 22: warning: don't use underscores in Go names; var AM02_temp_purchases should be AM02TempPurchases (golint)
    • Line 23: warning: don't use underscores in Go names; var AM02_insert_purchases should be AM02InsertPurchases (golint)
    • Line 24: warning: don't use underscores in Go names; var AM02_drop_temp_purchases should be AM02DropTempPurchases (golint)
    • Line 26: warning: don't use underscores in Go names; var AM02_up_create_inventory should be AM02UpCreateInventory (golint)
    • Line 27: warning: don't use underscores in Go names; var AM02_down_create_inventory should be AM02DownCreateInventory (golint)
    • Line 28: warning: don't use underscores in Go names; var AM02_temp_inventory should be AM02TempInventory (golint)
    • Line 29: warning: don't use underscores in Go names; var AM02_insert_inventory should be AM02InsertInventory (golint)
    • Line 30: warning: don't use underscores in Go names; var AM02_drop_temp_inventory should be AM02DropTempInventory (golint)
    • Line 33: warning: exported type Migration029 should have comment or be unexported (golint)
    • Line 35: warning: exported type AM02 should have comment or be unexported (golint)
    • Line 37: warning: exported var AM02UpVer should have comment or be unexported (golint)
    • Line 38: warning: exported var AM02DownVer should have comment or be unexported (golint)
    • Line 40: warning: exported method AM02.Up should have comment or be unexported (golint)
    • Line 98: warning: exported method AM02.Down should have comment or be unexported (golint)
    • cmd/encrypt.go
    • Line 19: warning: exported type EncryptDatabase should have comment or be unexported (golint)
    • Line 23: warning: exported method EncryptDatabase.Execute should have comment or be unexported (golint)
    • repo/db/settings.go
    • Line 13: warning: error var SettingsNotSetError should have name of the form ErrFoo (golint)
    • Line 13: warning: exported var SettingsNotSetError should have comment or be unexported (golint)
    • Line 15: warning: exported type SettingsDB should have comment or be unexported (golint)
    • Line 19: warning: exported function NewConfigurationStore should have comment or be unexported (golint)
    • Line 23: warning: exported method SettingsDB.Put should have comment or be unexported (golint)
    • Line 44: warning: exported method SettingsDB.Get should have comment or be unexported (golint)
    • Line 65: warning: exported method SettingsDB.Update should have comment or be unexported (golint)
    • ipfs/constants.go
    • Line 4: warning: exported const IPFSProtocolAppMainnetOne should have comment (or a comment on this block) or be unexported (golint)
    • repo/migrations/Migration002.go
    • Line 11: warning: exported type Migration002 should have comment or be unexported (golint)
    • Line 13: warning: exported method Migration002.Up should have comment or be unexported (golint)
    • Line 66: warning: exported method Migration002.Down should have comment or be unexported (golint)
    • repo/migrations/Migration007.go
    • Line 14: warning: don't use underscores in Go names; const Migration007_casesCreateSQL should be Migration007CasesCreateSQL (golint)
    • Line 14: warning: exported const Migration007_casesCreateSQL should have comment (or a comment on this block) or be unexported (golint)
    • Line 15: warning: don't use underscores in Go names; const Migration007_purchasesCreateSQL should be Migration007PurchasesCreateSQL (golint)
    • Line 16: warning: don't use underscores in Go names; const Migration007_salesCreateSQL should be Migration007SalesCreateSQL (golint)
    • Line 19: warning: exported type Migration007 should have comment or be unexported (golint)
    • Line 21: warning: exported method Migration007.Up should have comment or be unexported (golint)
    • Line 80: warning: exported method Migration007.Down should have comment or be unexported (golint)
    • repo/migrations/Migration025.go
    • Line 8: warning: exported type Migration025 should have comment or be unexported (golint)
    • Line 10: warning: exported method Migration025.Up should have comment or be unexported (golint)
    • Line 50: warning: exported method Migration025.Down should have comment or be unexported (golint)
    • repo/migrations/Migration027.go
    • Line 13: warning: exported type Migration027 should have comment or be unexported (golint)
    • Line 19: warning: don't use underscores in Go names; type UpdateListingHash_Price should be UpdateListingHashPrice (golint)
    • Line 19: warning: exported type UpdateListingHash_Price should have comment or be unexported (golint)
    • Line 24: warning: don't use underscores in Go names; type UpdateListingHash_Thumbnail should be UpdateListingHashThumbnail (golint)
    • Line 24: warning: exported type UpdateListingHash_Thumbnail should have comment or be unexported (golint)
    • Line 30: warning: don't use underscores in Go names; type UpdateListingHash_ListingData should be UpdateListingHashListingData (golint)
    • Line 30: warning: exported type UpdateListingHash_ListingData should have comment or be unexported (golint)
    • Line 50: warning: exported method UpdateListingHash.Up should have comment or be unexported (golint)
    • Line 93: warning: exported method UpdateListingHash.Down should have comment or be unexported (golint)
    • cmd/init.go
    • Line 18: warning: exported type Init should have comment or be unexported (golint)
    • Line 27: warning: exported method Init.Execute should have comment or be unexported (golint)
    • net/repointer/repointer.go
    • Line 19: warning: exported type PointerRepublisher should have comment or be unexported (golint)
    • Line 26: warning: exported function NewPointerRepublisher should have comment or be unexported (golint)
    • Line 35: warning: exported method PointerRepublisher.Run should have comment or be unexported (golint)
    • Line 44: warning: exported method PointerRepublisher.Republish should have comment or be unexported (golint)
    • net/service/messagesender.go
    • Line 30: warning: exported var ReadMessageTimeout should have comment or be unexported (golint)
    • Line 31: warning: exported var ErrReadTimeout should have comment or be unexported (golint)
    • Line 32: warning: exported var ErrWriteTimeout should have comment or be unexported (golint)
    • Line 161: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 215: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • net/tor.go
    • Line 17: warning: comment on exported function GetTorControlPort should be of the form "GetTorControlPort ..." (golint)
    • Line 32: warning: comment on exported function CreateHiddenServiceKey should be of the form "CreateHiddenServiceKey ..." (golint)
    • Line 62: warning: comment on exported function MaybeCreateHiddenServiceKey should be of the form "MaybeCreateHiddenServiceKey ..." (golint)
    • repo/migrations/Migration020.go
    • Line 28: warning: exported method Migration020.Up should have comment or be unexported (golint)
    • Line 121: warning: exported method Migration020.Down should have comment or be unexported (golint)
    • Line 343: warning: exported function IPNSKeysForID should have comment or be unexported (golint)
    • repo/migrations/Migration028.go
    • Line 22: warning: exported type Migration028 should have comment or be unexported (golint)
    • Line 27: warning: don't use underscores in Go names; type MigrateListingsToV5Schema_ListingThumbnail should be MigrateListingsToV5SchemaListingThumbnail (golint)
    • Line 27: warning: exported type MigrateListingsToV5Schema_ListingThumbnail should have comment or be unexported (golint)
    • Line 33: warning: don't use underscores in Go names; type MigrateListingsToV5Schema_V5CurrencyValue should be MigrateListingsToV5SchemaV5CurrencyValue (golint)
    • Line 33: warning: exported type MigrateListingsToV5Schema_V5CurrencyValue should have comment or be unexported (golint)
    • Line 38: warning: don't use underscores in Go names; type MigrateListingsToV5Schema_V5CurrencyCode should be MigrateListingsToV5SchemaV5CurrencyCode (golint)
    • Line 38: warning: exported type MigrateListingsToV5Schema_V5CurrencyCode should have comment or be unexported (golint)
    • Line 40: warning: don't use underscores in Go names; type MigrateListingsToV5Schema_V5CurrencyDefinition should be MigrateListingsToV5SchemaV5CurrencyDefinition (golint)
    • Line 40: warning: exported type MigrateListingsToV5Schema_V5CurrencyDefinition should have comment or be unexported (golint)
    • Line 45: warning: don't use underscores in Go names; type MigrateListingsToV5Schema_V5ListingIndexData should be MigrateListingsToV5SchemaV5ListingIndexData (golint)
    • Line 45: warning: exported type MigrateListingsToV5Schema_V5ListingIndexData should have comment or be unexported (golint)
    • Line 66: warning: don't use underscores in Go names; type MigrateListingsToV5Schema_V4price should be MigrateListingsToV5SchemaV4price (golint)
    • Line 66: warning: exported type MigrateListingsToV5Schema_V4price should have comment or be unexported (golint)
    • Line 72: warning: don't use underscores in Go names; type MigrateListingsToV5Schema_V4ListingIndexData should be MigrateListingsToV5SchemaV4ListingIndexData (golint)
    • Line 72: warning: exported type MigrateListingsToV5Schema_V4ListingIndexData should have comment or be unexported (golint)
    • Line 93: warning: exported method MigrateListingsToV5Schema_V5CurrencyValue.MarshalJSON should have comment or be unexported (golint)
    • Line 109: warning: exported method MigrateListingsToV5Schema_V5CurrencyValue.UnmarshalJSON should have comment or be unexported (golint)
    • Line 761: warning: don't use underscores in Go names; func migration027_GetIdentityKey should be migration027GetIdentityKey (golint)
    • repo/db/utxos.go
    • Line 17: warning: exported type UtxoDB should have comment or be unexported (golint)
    • Line 22: warning: exported function NewUnspentTransactionStore should have comment or be unexported (golint)
    • Line 26: warning: exported method UtxoDB.Put should have comment or be unexported (golint)
    • Line 47: warning: exported method UtxoDB.GetAll should have comment or be unexported (golint)
    • Line 98: warning: exported method UtxoDB.SetWatchOnly should have comment or be unexported (golint)
    • Line 109: warning: exported method UtxoDB.Delete should have comment or be unexported (golint)
    • repo/sale_record.go
    • Line 11: warning: don't use underscores in Go names; var VendorDisputeTimeout_lastInterval should be VendorDisputeTimeoutLastInterval (golint)
    • Line 11: warning: exported var VendorDisputeTimeout_lastInterval should have comment or be unexported (golint)
    • pb/contract_helper.go
    • Line 11: warning: exported function DisputeResolutionPayoutOutputToAddress should have comment or be unexported (golint)
    • repo/errors.go
    • Line 15: warning: exported var ErrShippingRegionMustBeSet should have comment or be unexported (golint)
    • repo/db/util.go
    • Line 8: warning: exported function PaymentCoinForContract should have comment or be unexported (golint)
    • Line 22: warning: exported function CoinTypeForContract should have comment or be unexported (golint)
    • test/logging.go
    • Line 9: warning: exported function NewLogger should have comment or be unexported (golint)
    • repo/migrations/Migration005.go
    • Line 11: warning: exported type Migration005 should have comment or be unexported (golint)
    • Line 13: warning: exported method Migration005.Up should have comment or be unexported (golint)
    • Line 65: warning: exported method Migration005.Down should have comment or be unexported (golint)
    • 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 Migration010 should have comment or be unexported (golint)
    • Line 13: warning: exported method Migration010.Up should have comment or be unexported (golint)
    • Line 42: warning: exported method Migration010.Down should have comment or be unexported (golint)
    • repo/listing_index.go
    • Line 9: warning: exported type ListingThumbnail should have comment or be unexported (golint)
    • Line 67: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 73: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • repo/migrations/Migration019.go
    • Line 31: warning: exported type ListingData should have comment or be unexported (golint)
    • Line 55: warning: exported method Migration019.Up should have comment or be unexported (golint)
    • Line 81: warning: exported method Migration019.Down should have comment or be unexported (golint)
    • ipfs/dag.go
    • Line 15: warning: comment on exported function FetchGraph should be of the form "FetchGraph ..." (golint)
    • Line 48: warning: exported function RemoveAll should have comment or be unexported (golint)
    • schema/configuration.go
    • Line 10: warning: exported type APIConfig should have comment or be unexported (golint)
    • Line 23: warning: exported type TorConfig should have comment or be unexported (golint)
    • Line 28: warning: exported type IpnsExtraConfig should have comment or be unexported (golint)
    • Line 33: warning: exported type WalletsConfig should have comment or be unexported (golint)
    • Line 41: warning: exported type CoinConfig should have comment or be unexported (golint)
    • Line 54: warning: exported type DataSharing should have comment or be unexported (golint)
    • Line 74: warning: exported function DefaultWalletsConfig should have comment or be unexported (golint)
    • Line 135: warning: exported function GetAPIConfig should have comment or be unexported (golint)
    • Line 285: warning: exported function GetWalletsConfig should have comment or be unexported (golint)
    • Line 310: warning: exported function GetTorConfig should have comment or be unexported (golint)
    • Line 356: warning: exported function GetIPNSExtraConfig should have comment or be unexported (golint)
    • Line 402: warning: exported function GetDropboxApiToken should have comment or be unexported (golint)
    • Line 427: warning: exported function GetRepublishInterval should have comment or be unexported (golint)
    • Line 458: warning: exported function GetDataSharing should have comment or be unexported (golint)
    • Line 516: warning: exported function GetTestnetBootstrapAddrs should have comment or be unexported (golint)
    • repo/currency_definition.go
    • Line 44: warning: exported const Fiat should have comment (or a comment on this block) or be unexported (golint)
    • Line 53: warning: exported var ErrCurrencyCodeLengthInvalid should have comment or be unexported (golint)
    • Line 282: warning: exported method CurrencyDictionaryProcessingError.All should have comment or be unexported (golint)
    • cmd/start.go
    • Line 70: warning: exported var ErrNoGateways should have comment or be unexported (golint)
    • Line 72: warning: exported type Start should have comment or be unexported (golint)
    • Line 94: warning: exported method Start.Execute should have comment or be unexported (golint)
    • Line 731: warning: exported type DummyWriter should have comment or be unexported (golint)
    • Line 737: warning: exported type DummyListener should have comment or be unexported (golint)
    • Line 741: warning: exported method DummyListener.Addr should have comment or be unexported (golint)
    • Line 745: warning: exported method DummyListener.Accept should have comment or be unexported (golint)
    • Line 750: warning: exported method DummyListener.Close should have comment or be unexported (golint)
    • Line 886: warning: exported function InitializeRepo should have comment or be unexported (golint)
    • core/errors.go
    • Line 52: warning: comment on exported var ErrOrderNotFound should be of the form "ErrOrderNotFound ..." (golint)
    • repo/datastore.go
    • Line 16: warning: exported type Datastore should have comment or be unexported (golint)
    • Line 37: warning: exported type Queryable should have comment or be unexported (golint)
    • Line 46: warning: exported type Config should have comment or be unexported (golint)
    • Line 64: warning: exported type FollowerStore should have comment or be unexported (golint)
    • Line 84: warning: exported type FollowingStore should have comment or be unexported (golint)
    • Line 104: warning: exported type OfflineMessageStore should have comment or be unexported (golint)
    • Line 123: warning: exported type PointerStore should have comment or be unexported (golint)
    • Line 145: warning: exported type ConfigurationStore should have comment or be unexported (golint)
    • Line 161: warning: exported type InventoryStore should have comment or be unexported (golint)
    • Line 184: warning: exported type PurchaseStore should have comment or be unexported (golint)
    • Line 232: warning: exported type SaleStore should have comment or be unexported (golint)
    • Line 273: warning: exported type CaseStore should have comment or be unexported (golint)
    • Line 320: warning: exported type ChatStore should have comment or be unexported (golint)
    • Line 347: warning: exported type NotificationStore should have comment or be unexported (golint)
    • Line 369: warning: exported type CouponStore should have comment or be unexported (golint)
    • Line 382: warning: exported type TransactionMetadataStore should have comment or be unexported (golint)
    • Line 398: warning: exported type ModeratedStore should have comment or be unexported (golint)
    • Line 412: warning: exported type KeyStore should have comment or be unexported (golint)
    • Line 417: warning: exported type SpentTransactionOutputStore should have comment or be unexported (golint)
    • Line 422: warning: exported type TransactionStore should have comment or be unexported (golint)
    • Line 427: warning: exported type UnspentTransactionOutputStore should have comment or be unexported (golint)
    • Line 432: warning: exported type WatchedScriptStore should have comment or be unexported (golint)
    • repo/dispute_case_record.go
    • Line 11: warning: don't use underscores in Go names; var ModeratorDisputeExpiry_firstInterval should be ModeratorDisputeExpiryFirstInterval (golint)
    • Line 11: warning: exported var ModeratorDisputeExpiry_firstInterval should have comment or be unexported (golint)
    • Line 12: warning: don't use underscores in Go names; var ModeratorDisputeExpiry_secondInterval should be ModeratorDisputeExpirySecondInterval (golint)
    • Line 13: warning: don't use underscores in Go names; var ModeratorDisputeExpiry_thirdInterval should be ModeratorDisputeExpiryThirdInterval (golint)
    • Line 14: warning: don't use underscores in Go names; var ModeratorDisputeExpiry_lastInterval should be ModeratorDisputeExpiryLastInterval (golint)
    • Line 83: warning: comment on exported method DisputeCaseRecord.IsExpiredNow should be of the form "IsExpiredNow ..." (golint)
    • repo/notification.go
    • Line 64: warning: exported method Notification.GetID should have comment or be unexported (golint)
    • Line 65: warning: exported method Notification.GetTypeString should have comment or be unexported (golint)
    • Line 66: warning: exported method Notification.GetType should have comment or be unexported (golint)
    • Line 72: warning: exported method Notification.GetUnixCreatedAt should have comment or be unexported (golint)
    • Line 73: warning: exported method Notification.GetSMTPTitleAndBody should have comment or be unexported (golint)
    • Line 76: warning: exported method Notification.Data should have comment or be unexported (golint)
    • Line 77: warning: exported method Notification.WebsocketData should have comment or be unexported (golint)
    • Line 86: warning: exported method Notification.MarshalJSON should have comment or be unexported (golint)
    • Line 100: warning: exported method Notification.UnmarshalJSON should have comment or be unexported (golint)
    • Line 377: warning: exported type Thumbnail should have comment or be unexported (golint)
    • Line 402: warning: exported type OrderNotification should have comment or be unexported (golint)
    • Line 416: warning: exported method OrderNotification.Data should have comment or be unexported (golint)
    • Line 419: warning: exported method OrderNotification.WebsocketData should have comment or be unexported (golint)
    • Line 422: warning: exported method OrderNotification.GetID should have comment or be unexported (golint)
    • Line 423: warning: exported method OrderNotification.GetType should have comment or be unexported (golint)
    • Line 424: warning: exported method OrderNotification.GetSMTPTitleAndBody should have comment or be unexported (golint)
    • Line 435: warning: exported type PaymentNotification should have comment or be unexported (golint)
    • Line 443: warning: exported method PaymentNotification.Data should have comment or be unexported (golint)
    • Line 446: warning: exported method PaymentNotification.WebsocketData should have comment or be unexported (golint)
    • Line 449: warning: exported method PaymentNotification.GetID should have comment or be unexported (golint)
    • Line 450: warning: exported method PaymentNotification.GetType should have comment or be unexported (golint)
    • Line 451: warning: exported method PaymentNotification.GetSMTPTitleAndBody should have comment or be unexported (golint)
    • Line 456: warning: exported type OrderConfirmationNotification should have comment or be unexported (golint)
    • Line 465: warning: exported method OrderConfirmationNotification.Data should have comment or be unexported (golint)
    • Line 468: warning: exported method OrderConfirmationNotification.WebsocketData should have comment or be unexported (golint)
    • Line 471: warning: exported method OrderConfirmationNotification.GetID should have comment or be unexported (golint)
    • Line 472: warning: exported method OrderConfirmationNotification.GetType should have comment or be unexported (golint)
    • Line 475: warning: exported method OrderConfirmationNotification.GetSMTPTitleAndBody should have comment or be unexported (golint)
    • Line 480: warning: exported type OrderDeclinedNotification should have comment or be unexported (golint)
    • Line 489: warning: exported method OrderDeclinedNotification.Data should have comment or be unexported (golint)
    • Line 492: warning: exported method OrderDeclinedNotification.WebsocketData should have comment or be unexported (golint)
    • Line 495: warning: exported method OrderDeclinedNotification.GetID should have comment or be unexported (golint)
    • Line 496: warning: exported method OrderDeclinedNotification.GetType should have comment or be unexported (golint)
    • Line 499: warning: exported method OrderDeclinedNotification.GetSMTPTitleAndBody should have comment or be unexported (golint)
    • Line 501: warning: exported type OrderCancelNotification should have comment or be unexported (golint)
    • Line 510: warning: exported method OrderCancelNotification.Data should have comment or be unexported (golint)
    • Line 513: warning: exported method OrderCancelNotification.WebsocketData should have comment or be unexported (golint)
    • Line 516: warning: exported method OrderCancelNotification.GetID should have comment or be unexported (golint)
    • Line 517: warning: exported method OrderCancelNotification.GetType should have comment or be unexported (golint)
    • Line 520: warning: exported method OrderCancelNotification.GetSMTPTitleAndBody should have comment or be unexported (golint)
    • Line 525: warning: exported type RefundNotification should have comment or be unexported (golint)
    • Line 534: warning: exported method RefundNotification.Data should have comment or be unexported (golint)
    • Line 537: warning: exported method RefundNotification.WebsocketData should have comment or be unexported (golint)
    • Line 540: warning: exported method RefundNotification.GetID should have comment or be unexported (golint)
    • Line 541: warning: exported method RefundNotification.GetType should have comment or be unexported (golint)
    • Line 542: warning: exported method RefundNotification.GetSMTPTitleAndBody should have comment or be unexported (golint)
    • Line 547: warning: exported type FulfillmentNotification should have comment or be unexported (golint)
    • Line 556: warning: exported method FulfillmentNotification.Data should have comment or be unexported (golint)
    • Line 559: warning: exported method FulfillmentNotification.WebsocketData should have comment or be unexported (golint)
    • Line 562: warning: exported method FulfillmentNotification.GetID should have comment or be unexported (golint)
    • Line 563: warning: exported method FulfillmentNotification.GetType should have comment or be unexported (golint)
    • Line 566: warning: exported method FulfillmentNotification.GetSMTPTitleAndBody should have comment or be unexported (golint)
    • Line 571: warning: exported type ProcessingErrorNotification should have comment or be unexported (golint)
    • Line 580: warning: exported method ProcessingErrorNotification.Data should have comment or be unexported (golint)
    • Line 583: warning: exported method ProcessingErrorNotification.WebsocketData should have comment or be unexported (golint)
    • Line 586: warning: exported method ProcessingErrorNotification.GetID should have comment or be unexported (golint)
    • Line 587: warning: exported method ProcessingErrorNotification.GetType should have comment or be unexported (golint)
    • Line 590: warning: exported method ProcessingErrorNotification.GetSMTPTitleAndBody should have comment or be unexported (golint)
    • Line 594: warning: exported type CompletionNotification should have comment or be unexported (golint)
    • Line 603: warning: exported method CompletionNotification.Data should have comment or be unexported (golint)
    • Line 606: warning: exported method CompletionNotification.WebsocketData should have comment or be unexported (golint)
    • Line 609: warning: exported method CompletionNotification.GetID should have comment or be unexported (golint)
    • Line 610: warning: exported method CompletionNotification.GetType should have comment or be unexported (golint)
    • Line 611: warning: exported method CompletionNotification.GetSMTPTitleAndBody should have comment or be unexported (golint)
    • Line 616: warning: exported type DisputeOpenNotification should have comment or be unexported (golint)
    • Line 628: warning: exported method DisputeOpenNotification.Data should have comment or be unexported (golint)
    • Line 631: warning: exported method DisputeOpenNotification.WebsocketData should have comment or be unexported (golint)
    • Line 634: warning: exported method DisputeOpenNotification.GetID should have comment or be unexported (golint)
    • Line 635: warning: exported method DisputeOpenNotification.GetType should have comment or be unexported (golint)
    • Line 638: warning: exported method DisputeOpenNotification.GetSMTPTitleAndBody should have comment or be unexported (golint)
    • Line 643: warning: exported type DisputeUpdateNotification should have comment or be unexported (golint)
    • Line 655: warning: exported method DisputeUpdateNotification.Data should have comment or be unexported (golint)
    • Line 658: warning: exported method DisputeUpdateNotification.WebsocketData should have comment or be unexported (golint)
    • Line 661: warning: exported method DisputeUpdateNotification.GetID should have comment or be unexported (golint)
    • Line 662: warning: exported method DisputeUpdateNotification.GetType should have comment or be unexported (golint)
    • Line 665: warning: exported method DisputeUpdateNotification.GetSMTPTitleAndBody should have comment or be unexported (golint)
    • Line 670: warning: exported type DisputeCloseNotification should have comment or be unexported (golint)
    • Line 680: warning: exported method DisputeCloseNotification.Data should have comment or be unexported (golint)
    • Line 683: warning: exported method DisputeCloseNotification.WebsocketData should have comment or be unexported (golint)
    • Line 686: warning: exported method DisputeCloseNotification.GetID should have comment or be unexported (golint)
    • Line 687: warning: exported method DisputeCloseNotification.GetType should have comment or be unexported (golint)
    • Line 690: warning: exported method DisputeCloseNotification.GetSMTPTitleAndBody should have comment or be unexported (golint)
    • Line 695: warning: exported type DisputeAcceptedNotification should have comment or be unexported (golint)
    • Line 705: warning: exported method DisputeAcceptedNotification.Data should have comment or be unexported (golint)
    • Line 708: warning: exported method DisputeAcceptedNotification.WebsocketData should have comment or be unexported (golint)
    • Line 711: warning: exported method DisputeAcceptedNotification.GetID should have comment or be unexported (golint)
    • Line 712: warning: exported method DisputeAcceptedNotification.GetType should have comment or be unexported (golint)
    • Line 715: warning: exported method DisputeAcceptedNotification.GetSMTPTitleAndBody should have comment or be unexported (golint)
    • Line 719: warning: exported type FollowNotification should have comment or be unexported (golint)
    • Line 725: warning: exported method FollowNotification.Data should have comment or be unexported (golint)
    • Line 728: warning: exported method FollowNotification.WebsocketData should have comment or be unexported (golint)
    • Line 731: warning: exported method FollowNotification.GetID should have comment or be unexported (golint)
    • Line 732: warning: exported method FollowNotification.GetType should have comment or be unexported (golint)
    • Line 735: warning: exported method FollowNotification.GetSMTPTitleAndBody should have comment or be unexported (golint)
    • Line 737: warning: exported type UnfollowNotification should have comment or be unexported (golint)
    • Line 743: warning: exported method UnfollowNotification.Data should have comment or be unexported (golint)
    • Line 746: warning: exported method UnfollowNotification.WebsocketData should have comment or be unexported (golint)
    • Line 749: warning: exported method UnfollowNotification.GetID should have comment or be unexported (golint)
    • Line 750: warning: exported method UnfollowNotification.GetType should have comment or be unexported (golint)
    • Line 751: warning: exported method UnfollowNotification.GetSMTPTitleAndBody should have comment or be unexported (golint)
    • Line 753: warning: exported type ModeratorAddNotification should have comment or be unexported (golint)
    • Line 759: warning: exported method ModeratorAddNotification.Data should have comment or be unexported (golint)
    • Line 762: warning: exported method ModeratorAddNotification.WebsocketData should have comment or be unexported (golint)
    • Line 765: warning: exported method ModeratorAddNotification.GetID should have comment or be unexported (golint)
    • Line 766: warning: exported method ModeratorAddNotification.GetType should have comment or be unexported (golint)
    • Line 769: warning: exported method ModeratorAddNotification.GetSMTPTitleAndBody should have comment or be unexported (golint)
    • Line 771: warning: exported type ModeratorRemoveNotification should have comment or be unexported (golint)
    • Line 777: warning: exported method ModeratorRemoveNotification.Data should have comment or be unexported (golint)
    • Line 780: warning: exported method ModeratorRemoveNotification.WebsocketData should have comment or be unexported (golint)
    • Line 783: warning: exported method ModeratorRemoveNotification.GetID should have comment or be unexported (golint)
    • Line 784: warning: exported method ModeratorRemoveNotification.GetType should have comment or be unexported (golint)
    • Line 787: warning: exported method ModeratorRemoveNotification.GetSMTPTitleAndBody should have comment or be unexported (golint)
    • Line 791: warning: exported type StatusNotification should have comment or be unexported (golint)
    • Line 795: warning: exported method StatusNotification.Data should have comment or be unexported (golint)
    • Line 796: warning: exported method StatusNotification.WebsocketData should have comment or be unexported (golint)
    • Line 797: warning: exported method StatusNotification.GetID should have comment or be unexported (golint)
    • Line 798: warning: exported method StatusNotification.GetType should have comment or be unexported (golint)
    • Line 799: warning: exported method StatusNotification.GetSMTPTitleAndBody should have comment or be unexported (golint)
    • Line 804: warning: exported method ChatMessageNotification.Data should have comment or be unexported (golint)
    • Line 807: warning: exported method ChatMessageNotification.WebsocketData should have comment or be unexported (golint)
    • Line 808: warning: exported method ChatMessageNotification.GetID should have comment or be unexported (golint)
    • Line 809: warning: exported method ChatMessageNotification.GetType should have comment or be unexported (golint)
    • Line 810: warning: exported method ChatMessageNotification.GetSMTPTitleAndBody should have comment or be unexported (golint)
    • Line 812: warning: exported type ChatRead should have comment or be unexported (golint)
    • Line 818: warning: exported method ChatRead.Data should have comment or be unexported (golint)
    • Line 819: warning: exported method ChatRead.WebsocketData should have comment or be unexported (golint)
    • Line 820: warning: exported method ChatRead.GetID should have comment or be unexported (golint)
    • Line 821: warning: exported method ChatRead.GetType should have comment or be unexported (golint)
    • Line 822: warning: exported method ChatRead.GetSMTPTitleAndBody should have comment or be unexported (golint)
    • Line 824: warning: exported type ChatTyping should have comment or be unexported (golint)
    • Line 830: warning: exported method ChatTyping.Data should have comment or be unexported (golint)
    • Line 833: warning: exported method ChatTyping.WebsocketData should have comment or be unexported (golint)
    • Line 834: warning: exported method ChatTyping.GetID should have comment or be unexported (golint)
    • Line 835: warning: exported method ChatTyping.GetType should have comment or be unexported (golint)
    • Line 836: warning: exported method ChatTyping.GetSMTPTitleAndBody should have comment or be unexported (golint)
    • Line 838: warning: exported type IncomingTransaction should have comment or be unexported (golint)
    • Line 852: warning: exported method IncomingTransaction.Data should have comment or be unexported (golint)
    • Line 855: warning: exported method IncomingTransaction.WebsocketData should have comment or be unexported (golint)
    • Line 856: warning: exported method IncomingTransaction.GetID should have comment or be unexported (golint)
    • Line 857: warning: exported method IncomingTransaction.GetType should have comment or be unexported (golint)
    • Line 858: warning: exported method IncomingTransaction.GetSMTPTitleAndBody should have comment or be unexported (golint)
    • Line 871: warning: exported method VendorDisputeTimeout.Data should have comment or be unexported (golint)
    • Line 874: warning: exported method VendorDisputeTimeout.WebsocketData should have comment or be unexported (golint)
    • Line 877: warning: exported method VendorDisputeTimeout.GetID should have comment or be unexported (golint)
    • Line 878: warning: exported method VendorDisputeTimeout.GetType should have comment or be unexported (golint)
    • Line 879: warning: exported method VendorDisputeTimeout.GetSMTPTitleAndBody should have comment or be unexported (golint)
    • Line 893: warning: exported method BuyerDisputeTimeout.Data should have comment or be unexported (golint)
    • Line 896: warning: exported method BuyerDisputeTimeout.WebsocketData should have comment or be unexported (golint)
    • Line 899: warning: exported method BuyerDisputeTimeout.GetID should have comment or be unexported (golint)
    • Line 900: warning: exported method BuyerDisputeTimeout.GetType should have comment or be unexported (golint)
    • Line 901: warning: exported method BuyerDisputeTimeout.GetSMTPTitleAndBody should have comment or be unexported (golint)
    • Line 915: warning: exported method BuyerDisputeExpiry.Data should have comment or be unexported (golint)
    • Line 918: warning: exported method BuyerDisputeExpiry.WebsocketData should have comment or be unexported (golint)
    • Line 921: warning: exported method BuyerDisputeExpiry.GetID should have comment or be unexported (golint)
    • Line 922: warning: exported method BuyerDisputeExpiry.GetType should have comment or be unexported (golint)
    • Line 923: warning: exported method BuyerDisputeExpiry.GetSMTPTitleAndBody should have comment or be unexported (golint)
    • Line 935: warning: exported method VendorFinalizedPayment.Data should have comment or be unexported (golint)
    • Line 938: warning: exported method VendorFinalizedPayment.WebsocketData should have comment or be unexported (golint)
    • Line 941: warning: exported method VendorFinalizedPayment.GetID should have comment or be unexported (golint)
    • Line 942: warning: exported method VendorFinalizedPayment.GetType should have comment or be unexported (golint)
    • Line 943: warning: exported method VendorFinalizedPayment.GetSMTPTitleAndBody should have comment or be unexported (golint)
    • Line 959: warning: exported method ModeratorDisputeExpiry.Data should have comment or be unexported (golint)
    • Line 962: warning: exported method ModeratorDisputeExpiry.WebsocketData should have comment or be unexported (golint)
    • Line 965: warning: exported method ModeratorDisputeExpiry.GetID should have comment or be unexported (golint)
    • Line 966: warning: exported method ModeratorDisputeExpiry.GetType should have comment or be unexported (golint)
    • Line 967: warning: exported method ModeratorDisputeExpiry.GetSMTPTitleAndBody should have comment or be unexported (golint)
    • Line 969: warning: exported type TestNotification should have comment or be unexported (golint)
    • Line 971: warning: exported method TestNotification.Data should have comment or be unexported (golint)
    • Line 974: warning: exported method TestNotification.WebsocketData should have comment or be unexported (golint)
    • Line 975: warning: exported method TestNotification.GetID should have comment or be unexported (golint)
    • Line 976: warning: exported method TestNotification.GetType should have comment or be unexported (golint)
    • Line 977: warning: exported method TestNotification.GetSMTPTitleAndBody should have comment or be unexported (golint)
    • Line 989: warning: exported method PremarshalledNotifier.Data should have comment or be unexported (golint)
    • Line 990: warning: exported method PremarshalledNotifier.WebsocketData should have comment or be unexported (golint)
    • Line 991: warning: exported method PremarshalledNotifier.GetID should have comment or be unexported (golint)
    • Line 992: warning: exported method PremarshalledNotifier.GetType should have comment or be unexported (golint)
    • Line 993: warning: exported method PremarshalledNotifier.GetSMTPTitleAndBody should have comment or be unexported (golint)
    • Line 995: warning: exported function NewNotificationID should have comment or be unexported (golint)
    • repo/db/chat.go
    • Line 13: warning: exported type ChatDB should have comment or be unexported (golint)
    • Line 17: warning: exported function NewChatStore should have comment or be unexported (golint)
    • Line 21: warning: exported method ChatDB.Put should have comment or be unexported (golint)
    • Line 63: warning: exported method ChatDB.GetConversations should have comment or be unexported (golint)
    • Line 119: warning: exported method ChatDB.GetMessages should have comment or be unexported (golint)
    • Line 175: warning: exported method ChatDB.MarkAsRead should have comment or be unexported (golint)
    • Line 230: warning: exported method ChatDB.GetUnreadCount should have comment or be unexported (golint)
    • Line 241: warning: exported method ChatDB.DeleteMessage should have comment or be unexported (golint)
    • Line 251: warning: exported method ChatDB.DeleteConversation should have comment or be unexported (golint)
    • test/factory/contract.go
    • Line 12: warning: exported function NewContract should have comment or be unexported (golint)
    • Line 52: warning: exported function NewDisputeableContract should have comment or be unexported (golint)
    • Line 67: warning: exported function NewUndisputeableContract should have comment or be unexported (golint)
    • Line 74: warning: exported function NewDisputedContract should have comment or be unexported (golint)
    • ipfs/publish.go
    • Line 16: warning: error var pubErr should have name of the form errFoo (golint)
    • Line 24: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • repo/peer_info.go
    • Line 17: warning: exported var ErrInvalidInlinePeerID should have comment or be unexported (golint)
    • Line 63: warning: exported method PeerInfo.Handle should have comment or be unexported (golint)
    • Line 64: warning: exported method PeerInfo.BitcoinSignature should have comment or be unexported (golint)
    • Line 84: warning: exported method PeerInfo.GeneratePeerIDFromIdentityKey should have comment or be unexported (golint)
    • Line 95: warning: exported method PeerInfo.BitcoinKey should have comment or be unexported (golint)
    • Line 100: warning: exported method PeerInfo.IdentityKeyBytes should have comment or be unexported (golint)
    • Line 105: warning: exported method PeerInfo.IdentityKey should have comment or be unexported (golint)
    • Line 113: warning: exported method PeerInfo.Equal should have comment or be unexported (golint)
    • Line 199: warning: exported method PeerInfo.Protobuf should have comment or be unexported (golint)
    • repo/db/cases.go
    • Line 17: warning: exported type CasesDB should have comment or be unexported (golint)
    • Line 21: warning: exported function NewCaseStore should have comment or be unexported (golint)
    • Line 25: warning: exported method CasesDB.PutRecord should have comment or be unexported (golint)
    • Line 64: warning: exported method CasesDB.Put should have comment or be unexported (golint)
    • Line 82: warning: exported method CasesDB.UpdateBuyerInfo should have comment or be unexported (golint)
    • Line 118: warning: exported method CasesDB.UpdateVendorInfo should have comment or be unexported (golint)
    • Line 154: warning: exported method CasesDB.MarkAsRead should have comment or be unexported (golint)
    • Line 164: warning: exported method CasesDB.MarkAsUnread should have comment or be unexported (golint)
    • Line 174: warning: exported method CasesDB.MarkAsClosed should have comment or be unexported (golint)
    • Line 199: warning: exported method CasesDB.Delete should have comment or be unexported (golint)
    • Line 209: warning: exported method CasesDB.GetAll should have comment or be unexported (golint)
    • Line 326: warning: exported method CasesDB.GetCaseMetadata should have comment or be unexported (golint)
    • Line 405: warning: exported method CasesDB.GetByCaseID should have comment or be unexported (golint)
    • Line 503: warning: exported method CasesDB.Count should have comment or be unexported (golint)
    • repo/db/db.go
    • Line 13: warning: a blank import should be only in a main or test package, or have a comment justifying it (golint)
    • Line 19: warning: exported type SQLiteDatastore should have comment or be unexported (golint)
    • Line 45: warning: exported function Create should have comment or be unexported (golint)
    • Line 67: warning: exported function NewSQLiteDatastore should have comment or be unexported (golint)
    • Line 95: warning: exported type DB should have comment or be unexported (golint)
    • Line 100: warning: exported method SQLiteDatastore.DB should have comment or be unexported (golint)
    • Line 104: warning: exported method SQLiteDatastore.Ping should have comment or be unexported (golint)
    • Line 108: warning: exported method SQLiteDatastore.Close should have comment or be unexported (golint)
    • Line 112: warning: exported method SQLiteDatastore.Config should have comment or be unexported (golint)
    • Line 116: warning: exported method SQLiteDatastore.Followers should have comment or be unexported (golint)
    • Line 120: warning: exported method SQLiteDatastore.Following should have comment or be unexported (golint)
    • Line 124: warning: exported method SQLiteDatastore.OfflineMessages should have comment or be unexported (golint)
    • Line 128: warning: exported method SQLiteDatastore.Pointers should have comment or be unexported (golint)
    • Line 132: warning: exported method SQLiteDatastore.Keys should have comment or be unexported (golint)
    • Line 136: warning: exported method SQLiteDatastore.Stxos should have comment or be unexported (golint)
    • Line 140: warning: exported method SQLiteDatastore.Txns should have comment or be unexported (golint)
    • Line 144: warning: exported method SQLiteDatastore.Utxos should have comment or be unexported (golint)
    • Line 148: warning: exported method SQLiteDatastore.Settings should have comment or be unexported (golint)
    • Line 152: warning: exported method SQLiteDatastore.Inventory should have comment or be unexported (golint)
    • Line 156: warning: exported method SQLiteDatastore.Purchases should have comment or be unexported (golint)
    • Line 160: warning: exported method SQLiteDatastore.Sales should have comment or be unexported (golint)
    • Line 164: warning: exported method SQLiteDatastore.WatchedScripts should have comment or be unexported (golint)
    • Line 168: warning: exported method SQLiteDatastore.Cases should have comment or be unexported (golint)
    • Line 172: warning: exported method SQLiteDatastore.Chat should have comment or be unexported (golint)
    • Line 176: warning: exported method SQLiteDatastore.Notifications should have comment or be unexported (golint)
    • Line 180: warning: exported method SQLiteDatastore.Coupons should have comment or be unexported (golint)
    • Line 184: warning: exported method SQLiteDatastore.TxMetadata should have comment or be unexported (golint)
    • Line 188: warning: exported method SQLiteDatastore.ModeratedStores should have comment or be unexported (golint)
    • Line 197: warning: exported method SQLiteDatastore.Copy should have comment or be unexported (golint)
    • Line 235: warning: exported method SQLiteDatastore.InitTables should have comment or be unexported (golint)
    • Line 235: warning: receiver name s should be consistent with previous receiver name d for SQLiteDatastore (golint)
    • Line 244: warning: exported type ConfigDB should have comment or be unexported (golint)
    • Line 248: warning: exported method ConfigDB.Init should have comment or be unexported (golint)
    • Line 275: warning: exported method ConfigDB.GetMnemonic should have comment or be unexported (golint)
    • Line 291: warning: exported method ConfigDB.GetIdentityKey should have comment or be unexported (golint)
    • Line 307: warning: exported method ConfigDB.GetCreationDate should have comment or be unexported (golint)
    • Line 324: warning: exported method ConfigDB.IsEncrypted should have comment or be unexported (golint)
    • storage/selfhosted/selfhostedstorage.go
    • Line 19: warning: exported type SelfHostedStorage should have comment or be unexported (golint)
    • Line 26: warning: exported function NewSelfHostedStorage should have comment or be unexported (golint)
    • Line 35: warning: exported method SelfHostedStorage.Store should have comment or be unexported (golint)
    • net/ban_manager.go
    • Line 9: warning: exported type BanManager should have comment or be unexported (golint)
    • Line 14: warning: exported function NewBanManager should have comment or be unexported (golint)
    • Line 22: warning: exported method BanManager.AddBlockedId should have comment or be unexported (golint)
    • Line 28: warning: exported method BanManager.RemoveBlockedId should have comment or be unexported (golint)
    • Line 36: warning: exported method BanManager.SetBlockedIds should have comment or be unexported (golint)
    • Line 47: warning: exported method BanManager.GetBlockedIds should have comment or be unexported (golint)
    • Line 61: warning: exported method BanManager.IsBanned should have comment or be unexported (golint)
    • net/encryption.go
    • Line 22: warning: comment on exported const CiphertextVersion should be of the form "CiphertextVersion ..." (golint)
    • Line 25: warning: comment on exported const CiphertextVersionBytes should be of the form "CiphertextVersionBytes ..." (golint)
    • Line 28: warning: comment on exported const SecretKeyBytes should be of the form "SecretKeyBytes ..." (golint)
    • Line 31: warning: comment on exported const AESKeyBytes should be of the form "AESKeyBytes ..." (golint)
    • Line 34: warning: comment on exported const MacKeyBytes should be of the form "MacKeyBytes ..." (golint)
    • Line 37: warning: comment on exported const EncryptedSecretKeyBytes should be of the form "EncryptedSecretKeyBytes ..." (golint)
    • Line 40: warning: comment on exported const MacBytes should be of the form "MacBytes ..." (golint)
    • Line 43: warning: comment on exported const NonceBytes should be of the form "NonceBytes ..." (golint)
    • Line 46: warning: comment on exported const EphemeralPublicKeyBytes should be of the form "EphemeralPublicKeyBytes ..." (golint)
    • Line 51: warning: comment on exported var ErrShortCiphertext should be of the form "ErrShortCiphertext ..." (golint)
    • Line 54: warning: comment on exported var ErrInvalidHmac should be of the form "ErrInvalidHmac ..." (golint)
    • Line 57: warning: comment on exported var BoxDecryptionError should be of the form "BoxDecryptionError ..." (golint)
    • Line 58: warning: error var BoxDecryptionError should have name of the form ErrFoo (golint)
    • Line 60: warning: comment on exported var Salt should be of the form "Salt ..." (golint)
    • Line 64: warning: exported function Encrypt should have comment or be unexported (golint)
    • Line 180: warning: exported function Decrypt should have comment or be unexported (golint)
    • test/factory/dispute_case_record.go
    • Line 10: warning: exported function NewDisputeCaseRecord should have comment or be unexported (golint)
    • Line 20: warning: exported function NewExpiredDisputeCaseRecord should have comment or be unexported (golint)
    • test/factory/settings.go
    • Line 9: warning: exported function MustNewValidSettings should have comment or be unexported (golint)
    • Line 45: warning: exported function NewValidShippingAddress should have comment or be unexported (golint)
    • repo/db/following.go
    • Line 12: warning: exported type FollowingDB should have comment or be unexported (golint)
    • Line 16: warning: exported function NewFollowingStore should have comment or be unexported (golint)
    • Line 20: warning: exported method FollowingDB.Put should have comment or be unexported (golint)
    • Line 35: warning: exported method FollowingDB.Get should have comment or be unexported (golint)
    • Line 61: warning: exported method FollowingDB.Delete should have comment or be unexported (golint)
    • Line 71: warning: exported method FollowingDB.Count should have comment or be unexported (golint)
    • Line 83: warning: exported method FollowingDB.IsFollowing should have comment or be unexported (golint)
    • repo/db/purchases.go
    • Line 19: warning: exported type PurchasesDB should have comment or be unexported (golint)
    • Line 23: warning: exported function NewPurchaseStore should have comment or be unexported (golint)
    • Line 27: warning: exported method PurchasesDB.Put should have comment or be unexported (golint)
    • Line 100: warning: exported method PurchasesDB.MarkAsRead should have comment or be unexported (golint)
    • Line 110: warning: exported method PurchasesDB.MarkAsUnread should have comment or be unexported (golint)
    • Line 120: warning: exported method PurchasesDB.UpdateFunding should have comment or be unexported (golint)
    • Line 139: warning: exported method PurchasesDB.Delete should have comment or be unexported (golint)
    • Line 149: warning: exported method PurchasesDB.GetAll should have comment or be unexported (golint)
    • Line 248: warning: exported method PurchasesDB.GetUnfunded should have comment or be unexported (golint)
    • Line 287: warning: exported method PurchasesDB.GetByPaymentAddress should have comment or be unexported (golint)
    • Line 330: warning: exported method PurchasesDB.GetByOrderId should have comment or be unexported (golint)
    • Line 378: warning: exported method PurchasesDB.Count should have comment or be unexported (golint)
    • Line 391: warning: exported method PurchasesDB.GetPurchasesForDisputeExpiryNotification should have comment or be unexported (golint)
    • repo/migrations/Migration012.go
    • Line 19: warning: don't use underscores in Go names; const migration012_ListingVersionForMarkupListings should be migration012ListingVersionForMarkupListings (golint)
    • Line 21: warning: exported type Migration012 should have comment or be unexported (golint)
    • Line 23: warning: don't use underscores in Go names; type Migration012_ListingData should be Migration012ListingData (golint)
    • Line 23: warning: exported type Migration012_ListingData should have comment or be unexported (golint)
    • Line 51: warning: exported function Migration012_listingHasNewFeaturesAndOldVersion should have comment or be unexported (golint)
    • Line 51: warning: don't use underscores in Go names; func Migration012_listingHasNewFeaturesAndOldVersion should be Migration012ListingHasNewFeaturesAndOldVersion (golint)
    • Line 60: warning: exported function Migration012_GetIdentityKey should have comment or be unexported (golint)
    • Line 60: warning: don't use underscores in Go names; func Migration012_GetIdentityKey should be Migration012GetIdentityKey (golint)
    • Line 77: warning: exported method Migration012.Up should have comment or be unexported (golint)
    • Line 265: warning: don't use underscores in Go names; func migration012_listingFilePath should be migration012ListingFilePath (golint)
    • Line 269: warning: exported method Migration012.Down should have comment or be unexported (golint)
    • cmd/gencerts.go
    • Line 20: warning: exported type GenerateCertificates should have comment or be unexported (golint)
    • Line 27: warning: exported method GenerateCertificates.Execute should have comment or be unexported (golint)
    • repo/db/sales.go
    • Line 20: warning: exported type SalesDB should have comment or be unexported (golint)
    • Line 24: warning: exported function NewSaleStore should have comment or be unexported (golint)
    • Line 28: warning: exported method SalesDB.Put should have comment or be unexported (golint)
    • Line 101: warning: exported method SalesDB.MarkAsRead should have comment or be unexported (golint)
    • Line 111: warning: exported method SalesDB.MarkAsUnread should have comment or be unexported (golint)
    • Line 121: warning: exported method SalesDB.UpdateFunding should have comment or be unexported (golint)
    • Line 140: warning: exported method SalesDB.Delete should have comment or be unexported (golint)
    • Line 150: warning: exported method SalesDB.GetAll should have comment or be unexported (golint)
    • Line 249: warning: exported method SalesDB.GetByPaymentAddress should have comment or be unexported (golint)
    • Line 292: warning: exported method SalesDB.GetByOrderId should have comment or be unexported (golint)
    • Line 340: warning: exported method SalesDB.Count should have comment or be unexported (golint)
    • Line 352: warning: exported method SalesDB.GetUnfunded should have comment or be unexported (golint)
    • core/images.go
    • Line 8: warning: a blank import should be only in a main or test package, or have a comment justifying it (golint)
    • Line 10: warning: a blank import should be only in a main or test package, or have a comment justifying it (golint)
    • test/factory/purchase_record.go
    • Line 9: warning: exported function NewPurchaseRecord should have comment or be unexported (golint)
    • Line 17: warning: exported function NewExpiredPurchaseRecord should have comment or be unexported (golint)
    • Line 23: warning: exported function NewExpiredDisputeablePurchaseRecord should have comment or be unexported (golint)
    • ipfs/add.go
    • Line 16: warning: a blank import should be only in a main or test package, or have a comment justifying it (golint)
    • Line 19: warning: comment on exported function AddDirectory should be of the form "AddDirectory ..." (golint)
    • Line 47: warning: exported function AddFile should have comment or be unexported (golint)
    • Line 51: warning: exported function GetHashOfFile should have comment or be unexported (golint)
    • Line 55: warning: exported function GetHash should have comment or be unexported (golint)
    • ipfs/caching_router.go
    • Line 16: warning: exported var ErrCachingRouterIncorrectRoutingType should have comment or be unexported (golint)
    • Line 19: warning: exported type CachingRouter should have comment or be unexported (golint)
    • Line 24: warning: exported function NewCachingRouter should have comment or be unexported (golint)
    • Line 31: warning: exported method CachingRouter.DHT should have comment or be unexported (golint)
    • Line 39: warning: exported method CachingRouter.APIRouter should have comment or be unexported (golint)
    • Line 43: warning: exported method CachingRouter.PutValue should have comment or be unexported (golint)
    • Line 57: warning: exported method CachingRouter.GetValue should have comment or be unexported (golint)
    • Line 75: warning: exported method CachingRouter.GetPublicKey should have comment or be unexported (golint)
    • Line 82: warning: exported method CachingRouter.SearchValue should have comment or be unexported (golint)
    • repo/chat_message.go
    • Line 3: warning: exported type ChatMessage should have comment or be unexported (golint)
    • Line 13: warning: exported type ChatConversation should have comment or be unexported (golint)
    • Line 21: warning: exported type GroupChatMessage should have comment or be unexported (golint)
    • repo/migration.go
    • Line 14: warning: exported type Migration should have comment or be unexported (golint)
    • Line 20: warning: exported var ErrUnknownSchema should have comment or be unexported (golint)
    • repo/models.go
    • Line 7: warning: exported type SettingsData should have comment or be unexported (golint)
    • Line 24: warning: exported type ShippingAddress should have comment or be unexported (golint)
    • Line 36: warning: exported type SMTPSettings should have comment or be unexported (golint)
    • Line 45: warning: exported type Follower should have comment or be unexported (golint)
    • Line 50: warning: exported type Coupon should have comment or be unexported (golint)
    • Line 56: warning: exported type Metadata should have comment or be unexported (golint)
    • Line 65: warning: exported type Purchase should have comment or be unexported (golint)
    • Line 84: warning: exported type Sale should have comment or be unexported (golint)
    • Line 103: warning: exported type Case should have comment or be unexported (golint)
    • Line 122: warning: exported type UnfundedOrder should have comment or be unexported (golint)
    • Line 129: warning: exported type OrderMessage should have comment or be unexported (golint)
    • ipfs/cat.go
    • Line 21: warning: comment on exported function Cat should be of the form "Cat ..." (golint)
    • Line 51: warning: exported function ResolveThenCat should have comment or be unexported (golint)
    • 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 Migration004 should have comment or be unexported (golint)
    • Line 13: warning: exported method Migration004.Up should have comment or be unexported (golint)
    • Line 65: warning: exported method Migration004.Down should have comment or be unexported (golint)
    • repo/migrations/Migration030.go
    • Line 10: warning: a blank import should be only in a main or test package, or have a comment justifying it (golint)
    • Line 14: warning: don't use underscores in Go names; var am03_up_create_utxos should be am03UpCreateUtxos (golint)
    • Line 15: warning: don't use underscores in Go names; var am03_down_create_utxos should be am03DownCreateUtxos (golint)
    • Line 16: warning: don't use underscores in Go names; var am03_temp_utxos should be am03TempUtxos (golint)
    • Line 17: warning: don't use underscores in Go names; var am03_insert_utxos should be am03InsertUtxos (golint)
    • Line 18: warning: don't use underscores in Go names; var am03_drop_temp_utxos should be am03DropTempUtxos (golint)
    • Line 20: warning: don't use underscores in Go names; var am03_up_create_stxos should be am03UpCreateStxos (golint)
    • Line 21: warning: don't use underscores in Go names; var am03_down_create_stxos should be am03DownCreateStxos (golint)
    • Line 22: warning: don't use underscores in Go names; var am03_temp_stxos should be am03TempStxos (golint)
    • Line 23: warning: don't use underscores in Go names; var am03_insert_stxos should be am03InsertStxos (golint)
    • Line 24: warning: don't use underscores in Go names; var am03_drop_temp_stxos should be am03DropTempStxos (golint)
    • Line 26: warning: don't use underscores in Go names; var am03_up_create_txns should be am03UpCreateTxns (golint)
    • Line 27: warning: don't use underscores in Go names; var am03_down_create_txns should be am03DownCreateTxns (golint)
    • Line 28: warning: don't use underscores in Go names; var am03_temp_txns should be am03TempTxns (golint)
    • Line 29: warning: don't use underscores in Go names; var am03_insert_txns should be am03InsertTxns (golint)
    • Line 30: warning: don't use underscores in Go names; var am03_drop_temp_txns should be am03DropTempTxns (golint)
    • Line 33: warning: exported type Migration030 should have comment or be unexported (golint)
    • Line 35: warning: exported type AM03 should have comment or be unexported (golint)
    • Line 37: warning: exported method AM03.Up should have comment or be unexported (golint)
    • Line 95: warning: exported method AM03.Down should have comment or be unexported (golint)
    • cmd/restore.go
    • Line 47: warning: exported type Restore should have comment or be unexported (golint)
    • Line 57: warning: exported method Restore.Execute should have comment or be unexported (golint)
    • Line 282: warning: exported function RestoreFile should have comment or be unexported (golint)
    • Line 296: warning: exported function RestoreDirectory should have comment or be unexported (golint)
    • Line 348: warning: exported function PrintError should have comment or be unexported (golint)
    • core/spend.go
    • Line 20: warning: exported type SpendRequest should have comment or be unexported (golint)
    • Line 34: warning: exported type SpendResponse should have comment or be unexported (golint)
    • repo/db/txmetadata.go
    • Line 10: warning: exported type TxMetadataDB should have comment or be unexported (golint)
    • Line 14: warning: exported function NewTransactionMetadataStore should have comment or be unexported (golint)
    • Line 18: warning: exported method TxMetadataDB.Put should have comment or be unexported (golint)
    • Line 39: warning: exported method TxMetadataDB.Get should have comment or be unexported (golint)
    • Line 62: warning: exported method TxMetadataDB.GetAll should have comment or be unexported (golint)
    • Line 95: warning: exported method TxMetadataDB.Delete should have comment or be unexported (golint)
    • test/factory/profile.go
    • Line 15: warning: exported function MustLoadProfileFixture should have comment or be unexported (golint)
    • Line 24: warning: exported function MustNewProfile should have comment or be unexported (golint)
    • Line 32: warning: exported function MustNewProfileProtobuf should have comment or be unexported (golint)
    • mobile/node.go
    • Line 29: warning: a blank import should be only in a main or test package, or have a comment justifying it (golint)
    • Line 525: warning: exported method Node.Restart should have comment or be unexported (golint)
    • ipfs/identity.go
    • Line 24: warning: exported function IdentityFromKey should have comment or be unexported (golint)
    • Line 44: warning: exported function IdentityKeyFromSeed should have comment or be unexported (golint)
    • ipfs/peers.go
    • Line 9: warning: exported function ConnectedPeers should have comment or be unexported (golint)
    • storage/dropbox/dropbox.go
    • Line 17: warning: exported type DropBoxStorage should have comment or be unexported (golint)
    • Line 21: warning: exported function NewDropBoxStorage should have comment or be unexported (golint)
    • Line 31: warning: exported method DropBoxStorage.Store should have comment or be unexported (golint)
    • test/factory/peer_info.go
    • Line 13: warning: exported function NewPeerIDProtobuf should have comment or be unexported (golint)
    • Line 27: warning: exported function MustNewPubkeysIdentityKeyBytes should have comment or be unexported (golint)
    • Line 35: warning: exported function MustNewBitcoinPrivKey should have comment or be unexported (golint)
    • Line 43: warning: exported function MustNewPubkeysProtobuf should have comment or be unexported (golint)
    • Line 70: warning: comment on exported function MustNewValidPeerInfo should be of the form "MustNewValidPeerInfo ..." (golint)
    • schema/constants.go
    • Line 6: warning: comment on exported const PragmaUserVersionSQL should be of the form "PragmaUserVersionSQL ..." (golint)
    • Line 8: warning: exported const CreateTableConfigSQL should have comment (or a comment on this block) or be unexported (golint)
    • Line 45: warning: comment on exported const EthereumRegistryAddressMainnet should be of the form "EthereumRegistryAddressMainnet ..." (golint)
    • Line 54: warning: don't use underscores in Go names; const BootstrapNodeTestnet_BrooklynFlea should be BootstrapNodeTestnetBrooklynFlea (golint)
    • Line 55: warning: don't use underscores in Go names; const BootstrapNodeTestnet_Shipshewana should be BootstrapNodeTestnetShipshewana (golint)
    • Line 56: warning: don't use underscores in Go names; const BootstrapNodeDefault_LeMarcheSerpette should be BootstrapNodeDefaultLeMarcheSerpette (golint)
    • Line 57: warning: don't use underscores in Go names; const BootstrapNodeDefault_BrixtonVillage should be BootstrapNodeDefaultBrixtonVillage (golint)
    • Line 58: warning: don't use underscores in Go names; const BootstrapNodeDefault_Johari should be BootstrapNodeDefaultJohari (golint)
    • Line 65: warning: comment on exported var ErrorEmptyMnemonic should be of the form "ErrorEmptyMnemonic ..." (golint)
    • Line 71: warning: exported var DataPushNodes should have comment or be unexported (golint)
    • Line 84: warning: exported function EthereumDefaultOptions should have comment or be unexported (golint)
    • Line 93: warning: exported const WalletTypeAPI should have comment (or a comment on this block) or be unexported (golint)
    • Line 98: warning: exported const CoinAPIdevelopertaskBTC should have comment (or a comment on this block) or be unexported (golint)
    • Line 112: warning: exported var CoinPoolBTC should have comment or be unexported (golint)
    • repo/db/notifications.go
    • Line 15: warning: exported type NotficationsDB should have comment or be unexported (golint)
    • Line 19: warning: exported function NewNotificationStore should have comment or be unexported (golint)
    • Line 23: warning: exported method NotficationsDB.PutRecord should have comment or be unexported (golint)
    • Line 43: warning: exported method NotficationsDB.GetAll should have comment or be unexported (golint)
    • Line 134: warning: exported method NotficationsDB.MarkAsRead should have comment or be unexported (golint)
    • Line 150: warning: exported method NotficationsDB.MarkAllAsRead should have comment or be unexported (golint)
    • Line 157: warning: exported method NotficationsDB.Delete should have comment or be unexported (golint)
    • Line 167: warning: exported method NotficationsDB.GetUnreadCount should have comment or be unexported (golint)
    • wallet/listeners/wallet_listener.go
    • Line 10: warning: exported type WalletListener should have comment or be unexported (golint)
    • Line 16: warning: exported function NewWalletListener should have comment or be unexported (golint)
    • Line 21: warning: exported method WalletListener.OnTransactionReceived should have comment or be unexported (golint)
    • repo/migrations/Migration008.go
    • Line 17: warning: don't use underscores in Go names; const Migration008_OrderState_PENDING should be Migration008OrderStatePENDING (golint)
    • Line 17: warning: exported const Migration008_OrderState_PENDING should have comment (or a comment on this block) or be unexported (golint)
    • Line 18: warning: don't use underscores in Go names; const Migration008_OrderState_AWAITING_PAYMENT should be Migration008OrderStateAWAITINGPAYMENT (golint)
    • Line 19: warning: don't use underscores in Go names; const Migration008_OrderState_DISPUTED should be Migration008OrderStateDISPUTED (golint)
    • Line 21: warning: don't use underscores in Go names; const Migration008_casesCreateSQL should be Migration008CasesCreateSQL (golint)
    • Line 22: warning: don't use underscores in Go names; const Migration008_purchasesCreateSQL should be Migration008PurchasesCreateSQL (golint)
    • Line 23: warning: don't use underscores in Go names; const Migration008_salesCreateSQL should be Migration008SalesCreateSQL (golint)
    • Line 26: warning: exported type Migration008 should have comment or be unexported (golint)
    • Line 28: warning: exported method Migration008.Up should have comment or be unexported (golint)
    • Line 154: warning: exported method Migration008.Down should have comment or be unexported (golint)
    • repo/migrations/Migration014.go
    • Line 9: warning: exported method Migration014.Up should have comment or be unexported (golint)
    • Line 106: warning: exported method Migration014.Down should have comment or be unexported (golint)
    • repo/migrations/Migration023.go
    • Line 10: warning: don't use underscores in Go names; type Migration023_ChatMessage should be Migration023ChatMessage (golint)
    • Line 10: warning: exported type Migration023_ChatMessage should have comment or be unexported (golint)
    • Line 20: warning: exported type Migration023 should have comment or be unexported (golint)
    • Line 22: warning: exported method Migration023.Up should have comment or be unexported (golint)
    • Line 56: warning: exported method Migration023.Down should have comment or be unexported (golint)
    • cmd/setapicreds.go
    • Line 23: warning: exported type SetAPICreds should have comment or be unexported (golint)
    • Line 28: warning: exported method SetAPICreds.Execute should have comment or be unexported (golint)
    • wallet/resync/resync_manager.go
    • Line 16: warning: exported var ResyncInterval should have comment or be unexported (golint)
    • Line 18: warning: exported type ResyncManager should have comment or be unexported (golint)
    • Line 24: warning: exported function NewResyncManager should have comment or be unexported (golint)
    • Line 28: warning: exported method ResyncManager.Start should have comment or be unexported (golint)
    • Line 35: warning: exported method ResyncManager.CheckUnfunded should have comment or be unexported (golint)
    • repo/migrations/Migration009.go
    • Line 12: warning: a blank import should be only in a main or test package, or have a comment justifying it (golint)
    • Line 15: warning: exported type Migration009 should have comment or be unexported (golint)
    • Line 17: warning: don't use underscores in Go names; type Migration009_price should be Migration009Price (golint)
    • Line 17: warning: exported type Migration009_price should have comment or be unexported (golint)
    • Line 21: warning: don't use underscores in Go names; type Migration009_thumbnail should be Migration009Thumbnail (golint)
    • Line 21: warning: exported type Migration009_thumbnail should have comment or be unexported (golint)
    • Line 27: warning: don't use underscores in Go names; type Migration009_listingDataBeforeMigration should be Migration009ListingDataBeforeMigration (golint)
    • Line 27: warning: exported type Migration009_listingDataBeforeMigration should have comment or be unexported (golint)
    • Line 46: warning: don't use underscores in Go names; type Migration009_listingDataAfterMigration should be Migration009ListingDataAfterMigration (golint)
    • Line 46: warning: exported type Migration009_listingDataAfterMigration should have comment or be unexported (golint)
    • Line 68: warning: don't use underscores in Go names; type Migration009_listing should be Migration009Listing (golint)
    • Line 68: warning: exported type Migration009_listing should have comment or be unexported (golint)
    • Line 71: warning: don't use underscores in Go names; type Migration009_listing_listing should be Migration009ListingListing (golint)
    • Line 71: warning: exported type Migration009_listing_listing should have comment or be unexported (golint)
    • Line 74: warning: don't use underscores in Go names; type Migration009_listing_listing_metadata should be Migration009ListingListingMetadata (golint)
    • Line 74: warning: exported type Migration009_listing_listing_metadata should have comment or be unexported (golint)
    • Line 79: warning: exported const Migration009CreatePreviousCasesTable should have comment (or a comment on this block) or be unexported (golint)
    • Line 85: warning: exported method Migration009.Up should have comment or be unexported (golint)
    • Line 143: warning: exported method Migration009.Down should have comment or be unexported (golint)
    • repo/purchase_record.go
    • Line 10: warning: don't use underscores in Go names; var BuyerDisputeTimeout_firstInterval should be BuyerDisputeTimeoutFirstInterval (golint)
    • Line 10: warning: exported var BuyerDisputeTimeout_firstInterval should have comment or be unexported (golint)
    • Line 11: warning: don't use underscores in Go names; var BuyerDisputeTimeout_secondInterval should be BuyerDisputeTimeoutSecondInterval (golint)
    • Line 12: warning: don't use underscores in Go names; var BuyerDisputeTimeout_thirdInterval should be BuyerDisputeTimeoutThirdInterval (golint)
    • Line 13: warning: don't use underscores in Go names; var BuyerDisputeTimeout_lastInterval should be BuyerDisputeTimeoutLastInterval (golint)
    • Line 14: warning: don't use underscores in Go names; var BuyerDisputeTimeout_totalDuration should be BuyerDisputeTimeoutTotalDuration (golint)
    • Line 16: warning: don't use underscores in Go names; var BuyerDisputeExpiry_firstInterval should be BuyerDisputeExpiryFirstInterval (golint)
    • Line 17: warning: don't use underscores in Go names; var BuyerDisputeExpiry_secondInterval should be BuyerDisputeExpirySecondInterval (golint)
    • Line 18: warning: don't use underscores in Go names; var BuyerDisputeExpiry_lastInterval should be BuyerDisputeExpiryLastInterval (golint)
    • Line 19: warning: don't use underscores in Go names; var BuyerDisputeExpiry_totalDuration should be BuyerDisputeExpiryTotalDuration (golint)
    • api/jsonapi.go
    • Line 53: warning: exported type JSONAPIConfig should have comment or be unexported (golint)
    • Line 69: warning: exported type APIError should have comment or be unexported (golint)
    • Line 76: warning: exported const OfflineMessageScanInterval should have comment or be unexported (golint)
    • Line 197: warning: exported function ErrorResponse should have comment or be unexported (golint)
    • Line 205: warning: exported function JSONErrorResponse should have comment or be unexported (golint)
    • Line 210: warning: exported function RenderJSONOrStringError should have comment or be unexported (golint)
    • Line 221: warning: exported function SanitizedResponse should have comment or be unexported (golint)
    • Line 230: warning: exported function SanitizedResponseM should have comment or be unexported (golint)
    • api/utils.go
    • Line 11: warning: exported type TransactionQuery should have comment or be unexported (golint)
    • util/utils.go
    • Line 7: warning: exported const EmojiPattern should have comment or be unexported (golint)
    • schema/manager.go
    • Line 20: warning: a blank import should be only in a main or test package, or have a comment justifying it (golint)
    • Line 25: warning: exported const CurrentSchemaVersion should have comment (or a comment on this block) or be unexported (golint)
    • Line 60: warning: comment on exported function NewCustomSchemaManager should be of the form "NewCustomSchemaManager ..." (golint)
    • Line 255: 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 400: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 471: warning: comment on exported function CreateIdentityKey should be of the form "CreateIdentityKey ..." (golint)
    • Line 499: warning: exported function MustDefaultConfig should have comment or be unexported (golint)
    • repo/migrations/Migration011.go
    • Line 14: warning: exported type Migration011 should have comment or be unexported (golint)
    • Line 16: warning: don't use underscores in Go names; type Migration011_listing should be Migration011Listing (golint)
    • Line 16: warning: exported type Migration011_listing should have comment or be unexported (golint)
    • Line 19: warning: don't use underscores in Go names; type Migration011_listing_listing should be Migration011ListingListing (golint)
    • Line 19: warning: exported type Migration011_listing_listing should have comment or be unexported (golint)
    • Line 23: warning: exported method Migration011.Up should have comment or be unexported (golint)
    • Line 86: warning: exported method Migration011.Down should have comment or be unexported (golint)
    • repo/migrations/Migration032.go
    • Line 11: warning: exported type Migration032 should have comment or be unexported (golint)
    • Line 18: warning: exported var AM01UpVer should have comment or be unexported (golint)
    • Line 19: warning: exported var AM01DownVer should have comment or be unexported (golint)
    • Line 21: warning: don't use underscores in Go names; type AM01_TransactionRecord_beforeMigration should be AM01TransactionRecordBeforeMigration (golint)
    • Line 21: warning: exported type AM01_TransactionRecord_beforeMigration should have comment or be unexported (golint)
    • Line 30: warning: don't use underscores in Go names; type AM01_TransactionRecord_afterMigration should be AM01TransactionRecordAfterMigration (golint)
    • Line 30: warning: exported type AM01_TransactionRecord_afterMigration should have comment or be unexported (golint)
    • Line 39: warning: don't use underscores in Go names; type AM01_record should be AM01Record (golint)
    • Line 39: warning: exported type AM01_record should have comment or be unexported (golint)
    • Line 46: warning: exported method AM01.Up should have comment or be unexported (golint)
    • Line 77: warning: exported method AM01.Down should have comment or be unexported (golint)
    • Line 108: warning: exported function AM01_extractRecords should have comment or be unexported (golint)
    • Line 108: warning: don't use underscores in Go names; func AM01_extractRecords should be AM01ExtractRecords (golint)
    • Line 145: warning: exported function AM01_updateRecords should have comment or be unexported (golint)
    • Line 145: warning: don't use underscores in Go names; func AM01_updateRecords should be AM01UpdateRecords (golint)
    • repo/db/keys.go
    • Line 16: warning: exported type KeysDB should have comment or be unexported (golint)
    • Line 21: warning: exported function NewKeyStore should have comment or be unexported (golint)
    • Line 25: warning: exported method KeysDB.Put should have comment or be unexported (golint)
    • Line 41: warning: exported method KeysDB.ImportKey should have comment or be unexported (golint)
    • Line 56: warning: exported method KeysDB.MarkKeyAsUsed should have comment or be unexported (golint)
    • Line 72: warning: exported method KeysDB.GetLastKeyIndex should have comment or be unexported (golint)
    • Line 92: warning: exported method KeysDB.GetPathForKey should have comment or be unexported (golint)
    • Line 114: warning: exported method KeysDB.GetKey should have comment or be unexported (golint)
    • Line 136: warning: exported method KeysDB.GetImported should have comment or be unexported (golint)
    • Line 162: warning: exported method KeysDB.GetUnused should have comment or be unexported (golint)
    • Line 183: warning: exported method KeysDB.GetAll should have comment or be unexported (golint)
    • Line 208: warning: exported method KeysDB.GetLookaheadWindows should have comment or be unexported (golint)
    • repo/db/offinemessages.go
    • Line 12: warning: exported type OfflineMessagesDB should have comment or be unexported (golint)
    • Line 16: warning: exported function NewOfflineMessageStore should have comment or be unexported (golint)
    • Line 20: warning: exported method OfflineMessagesDB.Put should have comment or be unexported (golint)
    • Line 36: warning: exported method OfflineMessagesDB.Has should have comment or be unexported (golint)
    • Line 49: warning: exported method OfflineMessagesDB.SetMessage should have comment or be unexported (golint)
    • Line 59: warning: exported method OfflineMessagesDB.GetMessages should have comment or be unexported (golint)
    • Line 83: warning: exported method OfflineMessagesDB.DeleteMessage should have comment or be unexported (golint)
    • repo/listing.go
    • Line 135: warning: exported method Listing.Reset should have comment or be unexported (golint)
    • Line 137: warning: exported method Listing.ProtoMessage should have comment or be unexported (golint)
    • Line 277: warning: exported function GetPathForListingSlug should have comment or be unexported (golint)
    • Line 285: warning: exported function ToHtmlEntities should have comment or be unexported (golint)
    • Line 321: warning: comment on exported function ExtractVersionFromSignedListing should be of the form "ExtractVersionFromSignedListing ..." (golint)
    • Line 405: 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 415: 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 421: 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 427: 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 589: warning: comment on exported method Listing.GetNsfw should be of the form "GetNsfw ..." (golint)
    • Line 605: warning: comment on exported method Listing.GetWeightGrams should be of the form "GetWeightGrams ..." (golint)
    • Line 772: warning: comment on exported method Listing.GetEscrowTimeoutHours should be of the form "GetEscrowTimeoutHours ..." (golint)
    • Line 1553: 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 1651: warning: exported method Listing.ValidateCryptoListing should have comment or be unexported (golint)
    • wallet/listeners/transaction_listener.go
    • Line 24: warning: exported type TransactionListener should have comment or be unexported (golint)
    • Line 31: warning: exported function NewTransactionListener should have comment or be unexported (golint)
    • Line 58: warning: exported method TransactionListener.OnTransactionReceived should have comment or be unexported (golint)
    • schema/path.go
    • Line 29: warning: comment on exported function OpenbazaarPathTransform should be of the form "OpenbazaarPathTransform ..." (golint)
    • repo/currency.go
    • Line 14: warning: exported const CurrencyCodeValidMinimumLength should have comment (or a comment on this block) or be unexported (golint)
    • Line 19: warning: exported var ErrCurrencyValueInsufficientPrecision should have comment or be unexported (golint)
    • Line 32: warning: exported method CurrencyValue.MarshalJSON should have comment or be unexported (golint)
    • Line 48: warning: exported method CurrencyValue.UnmarshalJSON should have comment or be unexported (golint)
    • repo/db/followers.go
    • Line 12: warning: exported type FollowerDB should have comment or be unexported (golint)
    • Line 16: warning: exported function NewFollowerStore should have comment or be unexported (golint)
    • Line 20: warning: exported method FollowerDB.Put should have comment or be unexported (golint)
    • Line 36: warning: exported method FollowerDB.Get should have comment or be unexported (golint)
    • Line 64: warning: exported method FollowerDB.Delete should have comment or be unexported (golint)
    • Line 74: warning: exported method FollowerDB.Count should have comment or be unexported (golint)
    • Line 86: warning: exported method FollowerDB.FollowsMe should have comment or be unexported (golint)
    • test/factory/currency.go
    • Line 11: warning: exported function NewCurrencyDefinition should have comment or be unexported (golint)
    • Line 28: warning: exported function MustNewCurrencyValue should have comment or be unexported (golint)
    • Line 39: warning: exported function MustNewCurrencyValueUsingDiv should have comment or be unexported (golint)
    • net/retriever/retriever.go
    • Line 30: warning: exported const DefaultPointerPrefixLength should have comment or be unexported (golint)
    • Line 34: warning: exported type MRConfig should have comment or be unexported (golint)
    • Line 47: warning: exported type MessageRetriever should have comment or be unexported (golint)
    • Line 69: warning: exported function NewMessageRetriever should have comment or be unexported (golint)
    • Line 98: warning: exported method MessageRetriever.Run should have comment or be unexported (golint)
    • Line 432: warning: exported var MessageProcessingOrder should have comment or be unexported (golint)
    • repo/migrations/Migration006.go
    • Line 12: warning: exported type Migration006 should have comment or be unexported (golint)
    • Line 14: warning: don't use underscores in Go names; type Migration006_configRecord should be Migration006ConfigRecord (golint)
    • Line 14: warning: exported type Migration006_configRecord should have comment or be unexported (golint)
    • Line 18: warning: don't use underscores in Go names; type Migration006_price should be Migration006Price (golint)
    • Line 18: warning: exported type Migration006_price should have comment or be unexported (golint)
    • Line 22: warning: don't use underscores in Go names; type Migration006_thumbnail should be Migration006Thumbnail (golint)
    • Line 22: warning: exported type Migration006_thumbnail should have comment or be unexported (golint)
    • Line 28: warning: don't use underscores in Go names; type Migration006_listingDataBeforeMigration should be Migration006ListingDataBeforeMigration (golint)
    • Line 28: warning: exported type Migration006_listingDataBeforeMigration should have comment or be unexported (golint)
    • Line 45: warning: don't use underscores in Go names; type Migration006_listingDataAfterMigration should be Migration006ListingDataAfterMigration (golint)
    • Line 45: warning: exported type Migration006_listingDataAfterMigration should have comment or be unexported (golint)
    • Line 65: warning: exported method Migration006.Up should have comment or be unexported (golint)
    • Line 165: warning: exported method Migration006.Down should have comment or be unexported (golint)
    • repo/migrations/Migration013.go
    • Line 18: warning: exported type Migration013 should have comment or be unexported (golint)
    • Line 20: warning: don't use underscores in Go names; type Migration013_TransactionRecord_beforeMigration should be Migration013TransactionRecordBeforeMigration (golint)
    • Line 20: warning: exported type Migration013_TransactionRecord_beforeMigration should have comment or be unexported (golint)
    • Line 29: warning: don't use underscores in Go names; type Migration013_TransactionRecord_afterMigration should be Migration013TransactionRecordAfterMigration (golint)
    • Line 29: warning: exported type Migration013_TransactionRecord_afterMigration should have comment or be unexported (golint)
    • Line 38: warning: don't use underscores in Go names; type migration013_record should be migration013Record (golint)
    • Line 45: warning: exported method Migration013.Up should have comment or be unexported (golint)
    • Line 76: warning: exported method Migration013.Down should have comment or be unexported (golint)
    • Line 107: warning: don't use underscores in Go names; func migration013_extractRecords should be migration013ExtractRecords (golint)
    • Line 144: warning: don't use underscores in Go names; func migration013_updateRecords should be migration013UpdateRecords (golint)
    • Line 210: warning: exported function Migration013_ChainConfigParams should have comment or be unexported (golint)
    • Line 210: warning: don't use underscores in Go names; func Migration013_ChainConfigParams should be Migration013ChainConfigParams (golint)
    • Line 217: warning: exported function Migration013_ScriptToAddress should have comment or be unexported (golint)
    • Line 217: warning: don't use underscores in Go names; func Migration013_ScriptToAddress should be Migration013ScriptToAddress (golint)
    • Line 246: warning: don't use underscores in Go names; func migration013_DecodeBCHAddress should be migration013DecodeBCHAddress (golint)
    • Line 265: warning: exported function Migration013_AddressToScript should have comment or be unexported (golint)
    • Line 265: warning: don't use underscores in Go names; func Migration013_AddressToScript should be Migration013AddressToScript (golint)
    • repo/signed_listing.go
    • Line 28: warning: exported function NewSignedListingFromProtobuf should have comment or be unexported (golint)
    • Line 42: warning: exported method SignedListing.Reset should have comment or be unexported (golint)
    • Line 44: warning: exported method SignedListing.ProtoMessage should have comment or be unexported (golint)
    • Line 109: warning: exported method SignedListing.MarshalJSON should have comment or be unexported (golint)
    • repo/db/watched_scripts.go
    • Line 13: warning: exported type WatchedScriptsDB should have comment or be unexported (golint)
    • Line 18: warning: exported function NewWatchedScriptStore should have comment or be unexported (golint)
    • Line 22: warning: exported method WatchedScriptsDB.PutAll should have comment or be unexported (golint)
    • Line 53: warning: exported method WatchedScriptsDB.Put should have comment or be unexported (golint)
    • Line 69: warning: exported method WatchedScriptsDB.GetAll should have comment or be unexported (golint)
    • Line 95: warning: exported method WatchedScriptsDB.Delete should have comment or be unexported (golint)
    • ipfs/pointers.go
    • Line 21: warning: exported const MagicPointerID should have comment or be unexported (golint)
    • Line 23: warning: exported type Purpose should have comment or be unexported (golint)
    • Line 26: warning: exported const MESSAGE should have comment (or a comment on this block) or be unexported (golint)
    • Line 32: warning: comment on exported type Pointer should be of the form "Pointer ..." (with optional leading article) (golint)
    • Line 45: warning: comment on exported function NewPointer should be of the form "NewPointer ..." (golint)
    • Line 65: warning: context.Context should be the first parameter of a function (golint)
    • Line 65: warning: exported function PublishPointer should have comment or be unexported (golint)
    • Line 69: warning: comment on exported function FindPointersAsync should be of the form "FindPointersAsync ..." (golint)
    • Line 70: warning: context.Context should be the first parameter of a function (golint)
    • Line 77: warning: comment on exported function FindPointers should be of the form "FindPointers ..." (golint)
    • Line 78: warning: context.Context should be the first parameter of a function (golint)
    • Line 86: warning: context.Context should be the first parameter of a function (golint)
    • Line 86: warning: exported function PutPointerToPeer should have comment or be unexported (golint)
    • Line 90: warning: context.Context should be the first parameter of a function (golint)
    • Line 90: warning: exported function GetPointersFromPeer should have comment or be unexported (golint)
    • Line 99: warning: context.Context should be the first parameter of a function (golint)
    • Line 130: warning: exported function CreatePointerKey should have comment or be unexported (golint)
    • wallet/builder.go
    • Line 31: warning: exported const InvalidCoinType should have comment or be unexported (golint)
    • Line 349: warning: exported type WalletDatastore should have comment or be unexported (golint)
    • Line 357: warning: exported method WalletDatastore.Keys should have comment or be unexported (golint)
    • Line 360: warning: exported method WalletDatastore.Stxos should have comment or be unexported (golint)
    • Line 363: warning: exported method WalletDatastore.Txns should have comment or be unexported (golint)
    • Line 366: warning: exported method WalletDatastore.Utxos should have comment or be unexported (golint)
    • Line 369: warning: exported method WalletDatastore.WatchedScripts should have comment or be unexported (golint)
    • Line 373: warning: exported function CreateWalletDB should have comment or be unexported (golint)
    • wallet/status.go
    • Line 13: warning: exported type StatusUpdater should have comment or be unexported (golint)
    • Line 31: warning: context.Context should be the first parameter of a function (golint)
    • Line 31: warning: exported function NewStatusUpdater should have comment or be unexported (golint)
    • Line 41: warning: exported method StatusUpdater.Start should have comment or be unexported (golint)
    • repo/migrations/Migration000.go
    • Line 11: warning: exported type Migration000 should have comment or be unexported (golint)
    • Line 13: warning: exported method Migration000.Up should have comment or be unexported (golint)
    • Line 73: warning: exported method Migration000.Down should have comment or be unexported (golint)
    • api/sanitize.go
    • Line 19: warning: exported function SanitizeJSON should have comment or be unexported (golint)
    • Line 33: warning: exported function SanitizeProtobuf should have comment or be unexported (golint)
    • repo/db/txns.go
    • Line 14: warning: exported type TxnsDB should have comment or be unexported (golint)
    • Line 19: warning: exported function NewTransactionStore should have comment or be unexported (golint)
    • Line 23: warning: exported method TxnsDB.Put should have comment or be unexported (golint)
    • Line 44: warning: exported method TxnsDB.Get should have comment or be unexported (golint)
    • Line 77: warning: exported method TxnsDB.GetAll should have comment or be unexported (golint)
    • Line 120: warning: exported method TxnsDB.Delete should have comment or be unexported (golint)
    • Line 130: warning: exported method TxnsDB.UpdateHeight should have comment or be unexported (golint)
    • repo/db/stxo.go
    • Line 17: warning: exported type StxoDB should have comment or be unexported (golint)
    • Line 22: warning: exported function NewSpentTransactionStore should have comment or be unexported (golint)
    • Line 26: warning: exported method StxoDB.Put should have comment or be unexported (golint)
    • Line 47: warning: exported method StxoDB.GetAll should have comment or be unexported (golint)
    • Line 105: warning: exported method StxoDB.Delete should have comment or be unexported (golint)
    • repo/db/pointers.go
    • Line 19: warning: exported type PointersDB should have comment or be unexported (golint)
    • Line 23: warning: exported function NewPointerStore should have comment or be unexported (golint)
    • Line 27: warning: exported method PointersDB.Put should have comment or be unexported (golint)
    • Line 48: warning: exported method PointersDB.Delete should have comment or be unexported (golint)
    • Line 58: warning: exported method PointersDB.DeleteAll should have comment or be unexported (golint)
    • Line 68: warning: exported method PointersDB.GetAll should have comment or be unexported (golint)
    • Line 123: warning: exported method PointersDB.GetByPurpose should have comment or be unexported (golint)
    • Line 178: warning: exported method PointersDB.Get should have comment or be unexported (golint)
    • ipfs/pubsub.go
    • Line 21: warning: exported type Pubsub should have comment or be unexported (golint)
    • Line 75: warning: exported method PubsubPublisher.Publish should have comment or be unexported (golint)
    • Line 93: warning: exported method PubsubSubscriber.Subscribe should have comment or be unexported (golint)
    • repo/migrations/Migration021.go
    • Line 15: warning: exported method Migration021.Up should have comment or be unexported (golint)
    • Line 57: warning: exported method Migration021.Down should have comment or be unexported (golint)
    • repo/api_time.go
    • Line 9: warning: exported var ErrUnknownAPITimeFormat should have comment or be unexported (golint)
    • Line 11: warning: exported const JSONAPITimeFormat should have comment or be unexported (golint)
    • Line 13: warning: exported type APITime should have comment or be unexported (golint)
    • Line 23: warning: exported method APITime.MarshalJSON should have comment or be unexported (golint)
    • Line 27: warning: exported method APITime.UnmarshalJSON should have comment or be unexported (golint)
    • repo/db/coupons.go
    • Line 11: warning: exported type CouponDB should have comment or be unexported (golint)
    • Line 15: warning: exported function NewCouponStore should have comment or be unexported (golint)
    • Line 19: warning: exported method CouponDB.Put should have comment or be unexported (golint)
    • Line 44: warning: exported method CouponDB.Get should have comment or be unexported (golint)
    • Line 68: warning: exported method CouponDB.Delete should have comment or be unexported (golint)
    • repo/db/moderatedstores.go
    • Line 12: warning: exported type ModeratedDB should have comment or be unexported (golint)
    • Line 16: warning: exported function NewModeratedStore should have comment or be unexported (golint)
    • Line 20: warning: exported method ModeratedDB.Put should have comment or be unexported (golint)
    • Line 36: warning: exported method ModeratedDB.Get should have comment or be unexported (golint)
    • Line 63: warning: exported method ModeratedDB.Delete should have comment or be unexported (golint)
    • net/networkservice.go
    • Line 14: warning: error var OutOfOrderMessage should have name of the form ErrFoo (golint)
    • Line 14: warning: exported var OutOfOrderMessage should have comment or be unexported (golint)
    • Line 15: warning: error var DuplicateMessage should have name of the form ErrFoo (golint)
    • Line 18: warning: exported type NetworkService should have comment or be unexported (golint)
    • repo/migrations/Migration022.go
    • Line 15: warning: exported method Migration022.Up should have comment or be unexported (golint)
    • Line 57: warning: exported method Migration022.Down should have comment or be unexported (golint)
    • cmd/decrypt.go
    • Line 19: warning: exported type DecryptDatabase should have comment or be unexported (golint)
    • Line 23: warning: exported method DecryptDatabase.Execute should have comment or be unexported (golint)
    • cmd/status.go
    • Line 14: warning: exported type Status should have comment or be unexported (golint)
    • Line 19: warning: exported method Status.Execute should have comment or be unexported (golint)

ineffassign100%

IneffAssign detects ineffectual assignments in Go code.

No problems detected. Good job!


license100%

Checks whether your project has a LICENSE file.

No problems detected. Good job!


misspell95%

Misspell Finds commonly misspelled English words

    • core/record_aging_notifier_test.go
    • Line 78: warning: "fourty" is a misspelling of "forty" (misspell)
    • Line 78: warning: "fourty" is a misspelling of "forty" (misspell)
    • Line 458: warning: "fourty" is a misspelling of "forty" (misspell)
    • Line 458: warning: "fourty" is a misspelling of "forty" (misspell)
    • Line 763: warning: "fourty" is a misspelling of "forty" (misspell)
    • Line 763: warning: "fourty" is a misspelling of "forty" (misspell)