Preparing report...

Report for github.com/lino-network/lino

A+    Excellent!    Found 129 issues across 233 files

Tweet

gofmt100%

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

No problems detected. Good job!


go_vet100%

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

No problems detected. Good job!


gocyclo100%

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

No problems detected. Good job!


golint44%

Golint is a linter for Go source code.

    • lino/testsuites/golden.go
    • Line 23: warning: exported type GoldenTestSuite should have comment or be unexported (golint)
    • Line 29: warning: exported function NewGoldenTestSuite should have comment or be unexported (golint)
    • Line 36: warning: exported method GoldenTestSuite.LoadState should have comment or be unexported (golint)
    • Line 64: warning: comment on exported method GoldenTestSuite.Golden should be of the form "Golden ..." (golint)
    • Line 87: warning: exported method GoldenTestSuite.AssertStateUnchanged should have comment or be unexported (golint)
    • Line 136: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • lino/app/app.go
    • Line 210: warning: comment on exported function MakeCodec should be of the form "MakeCodec ..." (golint)
    • Line 564: warning: comment on exported method LinoBlockchain.ExportAppStateAndValidators should be of the form "ExportAppStateAndValidators ..." (golint)
    • Line 614: warning: exported method LinoBlockchain.GetHomeDir should have comment or be unexported (golint)
    • lino/x/validator/manager/hooks.go
    • Line 10: warning: exported method ValidatorManager.AfterAddingStake should have comment or be unexported (golint)
    • Line 14: warning: exported method ValidatorManager.AfterSubtractingStake should have comment or be unexported (golint)
    • Line 18: warning: exported method ValidatorManager.AfterSlashing should have comment or be unexported (golint)
    • Line 22: warning: exported type Hooks should have comment or be unexported (golint)
    • Line 28: warning: comment on exported method ValidatorManager.Hooks should be of the form "Hooks ..." (golint)
    • Line 33: warning: exported method Hooks.AfterAddingStake should have comment or be unexported (golint)
    • Line 37: warning: exported method Hooks.AfterSubtractingStake should have comment or be unexported (golint)
    • Line 41: warning: exported method Hooks.AfterSlashing should have comment or be unexported (golint)
    • lino/app/errors.go
    • Line 11: warning: comment on exported function ErrGenesisFailed should be of the form "ErrGenesisFailed ..." (golint)
    • lino/x/post/handler.go
    • Line 13: warning: exported type CreatePostMsg should have comment or be unexported (golint)
    • Line 14: warning: exported type UpdatePostMsg should have comment or be unexported (golint)
    • Line 15: warning: exported type DeletePostMsg should have comment or be unexported (golint)
    • Line 16: warning: exported type DonateMsg should have comment or be unexported (golint)
    • Line 17: warning: exported type IDADonateMsg should have comment or be unexported (golint)
    • lino/x/global/model/dumper.go
    • Line 10: warning: exported function NewDumper should have comment or be unexported (golint)
    • Line 19: warning: exported function DumpToFile should have comment or be unexported (golint)
    • Line 24: warning: exported function LoadFromFile should have comment or be unexported (golint)
    • lino/x/price/manager/wmpricemanager.go
    • Line 15: warning: exported type WeightedMedianPriceManager should have comment or be unexported (golint)
    • Line 23: warning: exported function NewWeightedMedianPriceManager should have comment or be unexported (golint)
    • Line 38: warning: comment on exported method WeightedMedianPriceManager.InitGenesis should be of the form "InitGenesis ..." (golint)
    • Line 58: warning: comment on exported method WeightedMedianPriceManager.UpdatePrice should be of the form "UpdatePrice ..." (golint)
    • Line 145: warning: exported method WeightedMedianPriceManager.CoinToMiniDollar should have comment or be unexported (golint)
    • Line 153: warning: exported method WeightedMedianPriceManager.MiniDollarToCoin should have comment or be unexported (golint)
    • Line 162: warning: exported method WeightedMedianPriceManager.CurrPrice should have comment or be unexported (golint)
    • Line 173: warning: exported method WeightedMedianPriceManager.HistoryPrice should have comment or be unexported (golint)
    • Line 177: warning: exported method WeightedMedianPriceManager.LastFeed should have comment or be unexported (golint)
    • lino/x/post/model/storage.go
    • Line 13: warning: exported var PostSubStore should have comment or be unexported (golint)
    • Line 17: warning: exported function GetAuthorPrefix should have comment or be unexported (golint)
    • Line 49: warning: comment on exported method PostStorage.HasPost should be of the form "HasPost ..." (golint)
    • Line 55: warning: comment on exported method PostStorage.GetPost should be of the form "GetPost ..." (golint)
    • Line 68: warning: comment on exported method PostStorage.SetPost should be of the form "SetPost ..." (golint)
    • Line 82: warning: exported method PostStorage.GetConsumptionWindow should have comment or be unexported (golint)
    • Line 93: warning: exported method PostStorage.SetConsumptionWindow should have comment or be unexported (golint)
    • Line 99: warning: exported method PostStorage.PartialStoreMap should have comment or be unexported (golint)
    • lino/types/ida.go
    • Line 15: warning: exported method IDAStr.ToMiniIDA should have comment or be unexported (golint)
    • Line 29: warning: exported function MiniIDAToMiniDollar should have comment or be unexported (golint)
    • lino/types/pools.go
    • Line 4: warning: comment on exported const InflationDeveloperPool should be of the form "InflationDeveloperPool ..." (golint)
    • Line 6: warning: exported const InflationValidatorPool should have comment (or a comment on this block) or be unexported (golint)
    • Line 9: warning: comment on exported const AccountVestingPool should be of the form "AccountVestingPool ..." (golint)
    • Line 12: warning: comment on exported const VoteStakeInPool should be of the form "VoteStakeInPool ..." (golint)
    • Line 17: warning: comment on exported const DevIDAReservePool should be of the form "DevIDAReservePool ..." (golint)
    • Line 21: warning: exported function ListPools should have comment or be unexported (golint)
    • lino/types/query.go
    • Line 5: warning: exported function CheckPathContentAndMinLength should have comment or be unexported (golint)
    • lino/x/post/types/keys.go
    • Line 13: warning: comment on exported const QueryPostInfo should be of the form "QueryPostInfo ..." (golint)
    • Line 15: warning: exported const QueryConsumptionWindow should have comment (or a comment on this block) or be unexported (golint)
    • lino/x/validator/model/ir.go
    • Line 11: warning: comment on exported type ABCIPubKeyIR should be of the form "ABCIPubKeyIR ..." (with optional leading article) (golint)
    • Line 17: warning: exported function NewABCIPubKeyIRFromTM should have comment or be unexported (golint)
    • Line 25: warning: exported method ABCIPubKeyIR.ToTM should have comment or be unexported (golint)
    • Line 36: warning: comment on exported type ABCIValidatorIR should be of the form "ABCIValidatorIR ..." (with optional leading article) (golint)
    • Line 42: warning: comment on exported type ValidatorIR should be of the form "ValidatorIR ..." (with optional leading article) (golint)
    • Line 54: warning: exported type ElectionVoteIR should have comment or be unexported (golint)
    • Line 59: warning: exported type ElectionVoteListIR should have comment or be unexported (golint)
    • Line 64: warning: comment on exported type ValidatorListIR should be of the form "ValidatorListIR ..." (with optional leading article) (golint)
    • lino/param/param.go
    • Line 23: warning: exported method GlobalAllocationParam.IsValid should have comment or be unexported (golint)
    • Line 128: warning: exported type BandwidthParam should have comment or be unexported (golint)
    • Line 157: warning: comment on exported type ReputationParam should be of the form "ReputationParam ..." (with optional leading article) (golint)
    • lino/x/developer/client/cli/tx.go
    • Line 14: warning: exported const FlagWebsite should have comment (or a comment on this block) or be unexported (golint)
    • Line 25: warning: exported function GetTxCmd should have comment or be unexported (golint)
    • lino/x/vote/manager/hooks.go
    • Line 12: warning: comment on exported type MultiStakingHooks should be of the form "MultiStakingHooks ..." (with optional leading article) (golint)
    • Line 15: warning: comment on exported type StakingHooks should be of the form "StakingHooks ..." (with optional leading article) (golint)
    • Line 39: warning: comment on exported method VoteManager.AfterSlashing should be of the form "AfterSlashing ..." (golint)
    • Line 47: warning: exported function NewMultiStakingHooks should have comment or be unexported (golint)
    • Line 51: warning: comment on exported method MultiStakingHooks.AfterAddingStake should be of the form "AfterAddingStake ..." (golint)
    • Line 61: warning: exported method MultiStakingHooks.AfterSubtractingStake should have comment or be unexported (golint)
    • Line 70: warning: exported method MultiStakingHooks.AfterSlashing should have comment or be unexported (golint)
    • lino/app/genesis.go
    • Line 19: warning: exported type GenesisPool should have comment or be unexported (golint)
    • Line 24: warning: exported type GenesisPools should have comment or be unexported (golint)
    • Line 29: warning: exported method GenesisPools.IsValid should have comment or be unexported (golint)
    • Line 58: warning: exported method GenesisPools.ReservePool should have comment or be unexported (golint)
    • Line 67: warning: comment on exported type GenesisState should be of the form "GenesisState ..." (with optional leading article) (golint)
    • Line 77: warning: comment on exported type GenesisAccount should be of the form "GenesisAccount ..." (with optional leading article) (golint)
    • lino/x/reputation/repv2/store.go
    • Line 23: warning: exported type UserIterator should have comment or be unexported (golint)
    • Line 66: warning: exported var KeySeparator should have comment or be unexported (golint)
    • Line 130: warning: exported function NewReputationStore should have comment or be unexported (golint)
    • lino/client/common.go
    • Line 19: warning: exported var ValidateCmd should have comment or be unexported (golint)
    • Line 21: warning: exported function ParsePubKey should have comment or be unexported (golint)
    • Line 30: warning: exported function ParsePrivKey should have comment or be unexported (golint)
    • Line 52: warning: exported function NewCoreContextFromViper should have comment or be unexported (golint)
    • Line 89: warning: exported function NewCoreBroadcastContextFromViper should have comment or be unexported (golint)
    • Line 108: warning: exported type CommandTxCallback should have comment or be unexported (golint)
    • lino/x/account/types/errors.go
    • Line 76: warning: comment on exported function ErrGetSigningKey should be of the form "ErrGetSigningKey ..." (golint)
    • Line 101: warning: comment on exported function ErrUpdateLastReportOrUpvoteAt should be of the form "ErrUpdateLastReportOrUpvoteAt ..." (golint)
    • Line 162: warning: comment on exported function ErrAppGrantKeyMismatch should be of the form "ErrAppGrantKeyMismatch ..." (golint)
    • Line 229: warning: comment on exported function ErrQueryTxFailed should be of the form "ErrQueryTxFailed ..." (golint)
    • lino/x/bandwidth/manager/manager.go
    • Line 17: warning: exported var BandwidthManagerTestMode should have comment or be unexported (golint)
    • Line 30: warning: exported function NewBandwidthManager should have comment or be unexported (golint)
    • Line 66: warning: exported method BandwidthManager.PrecheckAndConsumeBandwidthCredit should have comment or be unexported (golint)
    • Line 88: warning: exported method BandwidthManager.IsUserMsgFeeEnough should have comment or be unexported (golint)
    • Line 100: warning: exported method BandwidthManager.AddMsgSignedByApp should have comment or be unexported (golint)
    • Line 122: warning: exported method BandwidthManager.AddMsgSignedByUser should have comment or be unexported (golint)
    • Line 135: warning: exported method BandwidthManager.ClearBlockInfo should have comment or be unexported (golint)
    • Line 149: warning: comment on exported method BandwidthManager.UpdateMaxMPSAndEMA should be of the form "UpdateMaxMPSAndEMA ..." (golint)
    • Line 194: warning: comment on exported method BandwidthManager.CalculateCurMsgFee should be of the form "CalculateCurMsgFee ..." (golint)
    • Line 226: warning: comment on exported method BandwidthManager.CalculateCurU should be of the form "CalculateCurU ..." (golint)
    • Line 256: warning: exported method BandwidthManager.DecayMaxMPS should have comment or be unexported (golint)
    • Line 274: warning: exported method BandwidthManager.RefillAppBandwidthCredit should have comment or be unexported (golint)
    • Line 305: warning: exported method BandwidthManager.GetPunishmentCoeff should have comment or be unexported (golint)
    • Line 332: warning: exported method BandwidthManager.ConsumeBandwidthCredit should have comment or be unexported (golint)
    • Line 350: warning: exported method BandwidthManager.ReCalculateAppBandwidthInfo should have comment or be unexported (golint)
    • Line 422: warning: exported method BandwidthManager.CheckBandwidth should have comment or be unexported (golint)
    • Line 475: warning: exported method BandwidthManager.BeginBlocker should have comment or be unexported (golint)
    • Line 493: warning: exported method BandwidthManager.EndBlocker should have comment or be unexported (golint)
    • Line 527: warning: exported method BandwidthManager.GetBandwidthCostPerMsg should have comment or be unexported (golint)
    • Line 531: warning: exported method BandwidthManager.GetAllAppInfo should have comment or be unexported (golint)
    • Line 611: warning: comment on exported method BandwidthManager.GetBandwidthInfo should be of the form "GetBandwidthInfo ..." (golint)
    • Line 616: warning: exported method BandwidthManager.GetBlockInfo should have comment or be unexported (golint)
    • Line 620: warning: exported method BandwidthManager.GetAppBandwidthInfo should have comment or be unexported (golint)
    • lino/types/errorcode.go
    • Line 8: warning: comment on exported const LinoErrorCodeSpace should be of the form "LinoErrorCodeSpace ..." (golint)
    • Line 12: warning: comment on exported const CodeInvalidUsername should be of the form "CodeInvalidUsername ..." (golint)
    • Line 14: warning: exported const CodeAccountNotFound should have comment (or a comment on this block) or be unexported (golint)
    • Line 30: warning: comment on exported const CodeIncorrectStdTxType should be of the form "CodeIncorrectStdTxType ..." (golint)
    • Line 39: warning: comment on exported const CodeGenesisFailed should be of the form "CodeGenesisFailed ..." (golint)
    • Line 46: warning: comment on exported const CodeRewardNotFound should be of the form "CodeRewardNotFound ..." (golint)
    • Line 115: warning: comment on exported const CodePostMetaNotFound should be of the form "CodePostMetaNotFound ..." (golint)
    • Line 159: warning: comment on exported const CodeInvalidApp should be of the form "CodeInvalidApp ..." (golint)
    • Line 168: warning: comment on exported const CodeValidatorNotFound should be of the form "CodeValidatorNotFound ..." (golint)
    • Line 183: warning: comment on exported const CodeContentCreatorCoinConversion should be of the form "CodeContentCreatorCoinConversion ..." (golint)
    • Line 213: warning: comment on exported const CodeVoterNotFound should be of the form "CodeVoterNotFound ..." (golint)
    • Line 236: warning: comment on exported const CodeDeveloperListNotFound should be of the form "CodeDeveloperListNotFound ..." (golint)
    • Line 272: warning: comment on exported const CodeParamHolderGenesisError should be of the form "CodeParamHolderGenesisError ..." (golint)
    • Line 310: warning: comment on exported const CodeOngoingProposalNotFound should be of the form "CodeOngoingProposalNotFound ..." (golint)
    • Line 331: warning: comment on exported const CodeReputationQueryFailed should be of the form "CodeReputationQueryFailed ..." (golint)
    • Line 334: warning: comment on exported const CodeBandwidthInfoNotFound should be of the form "CodeBandwidthInfoNotFound ..." (golint)
    • Line 344: warning: comment on exported const CodeFedPriceNotFound should be of the form "CodeFedPriceNotFound ..." (golint)
    • Line 352: warning: comment on exported const CodeTestDummyError should be of the form "CodeTestDummyError ..." (golint)
    • Line 354: warning: comment on exported const CodeUnimplementedError should be of the form "CodeUnimplementedError ..." (golint)
    • lino/x/validator/model/validator.go
    • Line 23: warning: exported type ElectionVote should have comment or be unexported (golint)
    • Line 28: warning: exported type ReceivedVotesStatus should have comment or be unexported (golint)
    • Line 33: warning: exported type ElectionVoteList should have comment or be unexported (golint)
    • Line 37: warning: comment on exported type ValidatorList should be of the form "ValidatorList ..." (with optional leading article) (golint)
    • lino/x/global/types/keys.go
    • Line 4: warning: comment on exported const ModuleName should be of the form "ModuleName ..." (golint)
    • Line 10: warning: exported const QueryTimeEventList should have comment (or a comment on this block) or be unexported (golint)
    • lino/x/developer/manager/manager.go
    • Line 27: warning: exported type DeveloperManager should have comment or be unexported (golint)
    • Line 67: warning: exported method DeveloperManager.GetDeveloper should have comment or be unexported (golint)
    • Line 309: warning: exported method DeveloperManager.GetMiniIDAPrice should have comment or be unexported (golint)
    • Line 371: warning: exported method DeveloperManager.GetIDA should have comment or be unexported (golint)
    • Line 379: warning: exported method DeveloperManager.GetIDABank should have comment or be unexported (golint)
    • Line 482: warning: comment on exported method DeveloperManager.UpdateIDAAuth should be of the form "UpdateIDAAuth ..." (golint)
    • Line 514: warning: comment on exported method DeveloperManager.MonthlyDistributeDevInflation should be of the form "MonthlyDistributeDevInflation ..." (golint)
    • Line 574: warning: exported method DeveloperManager.GetReservePool should have comment or be unexported (golint)
    • Line 578: warning: exported method DeveloperManager.GetIDAStats should have comment or be unexported (golint)
    • Line 586: warning: exported method DeveloperManager.ExportToFile should have comment or be unexported (golint)
    • Line 667: warning: comment on exported method DeveloperManager.ImportFromFile should be of the form "ImportFromFile ..." (golint)
    • lino/param/querier.go
    • Line 10: warning: comment on exported const ModuleName should be of the form "ModuleName ..." (golint)
    • Line 19: warning: exported const QueryAllocationParam should have comment (or a comment on this block) or be unexported (golint)
    • Line 31: warning: comment on exported function NewQuerier should be of the form "NewQuerier ..." (golint)
    • lino/x/price/model/store.go
    • Line 39: warning: comment on exported function GetFeedHistoryKey should be of the form "GetFeedHistoryKey ..." (golint)
    • Line 114: warning: exported method PriceStorage.SetCurrentPrice should have comment or be unexported (golint)
    • Line 120: warning: exported method PriceStorage.GetLastValidators should have comment or be unexported (golint)
    • Line 132: warning: exported method PriceStorage.SetLastValidators should have comment or be unexported (golint)
    • Line 138: warning: exported method PriceStorage.GetFeedHistory should have comment or be unexported (golint)
    • Line 150: warning: exported method PriceStorage.SetFeedHistory should have comment or be unexported (golint)
    • lino/x/vote/client/cli/tx.go
    • Line 14: warning: exported const FlagAmount should have comment (or a comment on this block) or be unexported (golint)
    • Line 18: warning: exported function GetTxCmd should have comment or be unexported (golint)
    • lino/types/sdkconfig.go
    • Line 8: warning: comment on exported const Bech32MainPrefix should be of the form "Bech32MainPrefix ..." (golint)
    • Line 11: warning: comment on exported const CoinType should be of the form "CoinType ..." (golint)
    • Line 43: warning: exported function ConfigAndSealCosmosSDKAddress should have comment or be unexported (golint)
    • lino/testsuites/ctx.go
    • Line 14: warning: exported type CtxTestSuite should have comment or be unexported (golint)
    • Line 22: warning: exported method CtxTestSuite.SetupCtx should have comment or be unexported (golint)
    • Line 37: warning: exported method CtxTestSuite.NextBlock should have comment or be unexported (golint)
    • lino/x/account/types/keys.go
    • Line 4: warning: comment on exported const ModuleName should be of the form "ModuleName ..." (golint)
    • Line 13: warning: comment on exported const QueryAccountInfo should be of the form "QueryAccountInfo ..." (golint)
    • Line 15: warning: exported const QueryAccountBank should have comment (or a comment on this block) or be unexported (golint)
    • lino/x/bandwidth/tick.go
    • Line 8: warning: comment on exported function BeginBlocker should be of the form "BeginBlocker ..." (golint)
    • Line 22: warning: comment on exported function EndBlocker should be of the form "EndBlocker ..." (golint)
    • lino/x/bandwidth/model/storage.go
    • Line 23: warning: exported function NewBandwidthStorage should have comment or be unexported (golint)
    • Line 73: warning: exported method BandwidthStorage.GetAppBandwidthInfo should have comment or be unexported (golint)
    • Line 84: warning: exported method BandwidthStorage.SetAppBandwidthInfo should have comment or be unexported (golint)
    • Line 91: warning: comment on exported method BandwidthStorage.GetAllAppBandwidthInfo should be of the form "GetAllAppBandwidthInfo ..." (golint)
    • Line 106: warning: exported method BandwidthStorage.DoesAppBandwidthInfoExist should have comment or be unexported (golint)
    • Line 111: warning: exported function GetBandwidthInfoKey should have comment or be unexported (golint)
    • Line 115: warning: exported function GetBlockInfoKey should have comment or be unexported (golint)
    • lino/x/validator/manager/manager.go
    • Line 41: warning: exported function NewValidatorManager should have comment or be unexported (golint)
    • Line 61: warning: exported method ValidatorManager.OnBeginBlock should have comment or be unexported (golint)
    • Line 79: warning: exported method ValidatorManager.UpdateValidator should have comment or be unexported (golint)
    • Line 144: warning: exported method ValidatorManager.RevokeValidator should have comment or be unexported (golint)
    • Line 172: warning: exported method ValidatorManager.VoteValidator should have comment or be unexported (golint)
    • Line 204: warning: exported method ValidatorManager.DistributeInflationToValidator should have comment or be unexported (golint)
    • Line 484: warning: comment on exported method ValidatorManager.PunishCommittingValidator should be of the form "PunishCommittingValidator ..." (golint)
    • Line 1056: warning: comment on exported method ValidatorManager.GetValidator should be of the form "GetValidator ..." (golint)
    • Line 1061: warning: exported method ValidatorManager.GetAllValidators should have comment or be unexported (golint)
    • Line 1067: warning: exported method ValidatorManager.GetCommittingValidators should have comment or be unexported (golint)
    • Line 1072: warning: exported method ValidatorManager.GetValidatorList should have comment or be unexported (golint)
    • Line 1076: warning: exported method ValidatorManager.SetValidatorList should have comment or be unexported (golint)
    • Line 1080: warning: exported method ValidatorManager.GetElectionVoteList should have comment or be unexported (golint)
    • Line 1093: warning: exported method ValidatorManager.GetCommittingValidatorVoteStatus should have comment or be unexported (golint)
    • Line 1161: warning: receiver name vs should be consistent with previous receiver name vm for ValidatorManager (golint)
    • lino/types/const.go
    • Line 8: warning: comment on exported const MainKVStoreKey should be of the form "MainKVStoreKey ..." (golint)
    • Line 10: warning: exported const AccountKVStoreKey should have comment (or a comment on this block) or be unexported (golint)
    • Line 23: warning: comment on exported const UnknownPermission should be of the form "UnknownPermission ..." (golint)
    • Line 28: warning: comment on exported const AppOrAffiliatedPermission should be of the form "AppOrAffiliatedPermission ..." (golint)
    • Line 32: warning: comment on exported const ProposalNotPass should be of the form "ProposalNotPass ..." (golint)
    • Line 37: warning: comment on exported const ChangeParam should be of the form "ChangeParam ..." (golint)
    • Line 42: warning: comment on exported const DirectDeposit should be of the form "DirectDeposit ..." (golint)
    • Line 46: warning: comment on exported const TransferIn should be of the form "TransferIn ..." (golint)
    • Line 60: warning: comment on exported const TransferOut should be of the form "TransferOut ..." (golint)
    • Line 69: warning: comment on exported const UnknownPunish should be of the form "UnknownPunish ..." (golint)
    • Line 167: warning: comment on exported const MaxVotedValidators should be of the form "MaxVotedValidators ..." (golint)
    • Line 179: warning: comment on exported const Upgrade5Update1 should be of the form "Upgrade5Update1 ..." (golint)
    • lino/x/validator/model/storage.go
    • Line 13: warning: exported var ValidatorSubstore should have comment or be unexported (golint)
    • Line 18: warning: exported type ValidatorStorage should have comment or be unexported (golint)
    • Line 23: warning: exported function NewValidatorStorage should have comment or be unexported (golint)
    • Line 38: warning: exported method ValidatorStorage.GetValidator should have comment or be unexported (golint)
    • Line 49: warning: exported method ValidatorStorage.SetValidator should have comment or be unexported (golint)
    • Line 55: warning: exported method ValidatorStorage.GetValidatorList should have comment or be unexported (golint)
    • Line 66: warning: exported method ValidatorStorage.SetValidatorList should have comment or be unexported (golint)
    • Line 72: warning: exported method ValidatorStorage.GetElectionVoteList should have comment or be unexported (golint)
    • Line 84: warning: exported method ValidatorStorage.SetElectionVoteList should have comment or be unexported (golint)
    • Line 90: warning: exported method ValidatorStorage.StoreMap should have comment or be unexported (golint)
    • Line 115: warning: exported function GetValidatorKey should have comment or be unexported (golint)
    • Line 119: warning: exported function GetElectionVoteListKey should have comment or be unexported (golint)
    • Line 123: warning: exported function GetValidatorListKey should have comment or be unexported (golint)
    • lino/x/vote/types/duty.go
    • Line 3: warning: exported type VoterDuty should have comment or be unexported (golint)
    • Line 6: warning: exported const DutyVoter should have comment (or a comment on this block) or be unexported (golint)
    • lino/test/test_util.go
    • Line 63: warning: exported function NewTestLinoBlockchain should have comment or be unexported (golint)
    • Line 168: warning: exported function CheckStandbyValidatorList should have comment or be unexported (golint)
    • Line 181: warning: exported function CheckJailValidatorList should have comment or be unexported (golint)
    • Line 194: warning: exported function CheckReceivedVotes should have comment or be unexported (golint)
    • Line 204: warning: comment on exported function CheckAppBandwidthInfo should be of the form "CheckAppBandwidthInfo ..." (golint)
    • Line 214: warning: comment on exported function CheckCurBlockInfo should be of the form "CheckCurBlockInfo ..." (golint)
    • Line 261: warning: comment on exported function SignCheckTxFail should be of the form "SignCheckTxFail ..." (golint)
    • lino/x/account/model/storage.go
    • Line 13: warning: exported var AccountInfoSubstore should have comment or be unexported (golint)
    • Line 29: warning: comment on exported function NewAccountStorage should be of the form "NewAccountStorage ..." (golint)
    • Line 106: warning: exported method AccountStorage.SetPool should have comment or be unexported (golint)
    • Line 112: warning: exported method AccountStorage.GetPool should have comment or be unexported (golint)
    • Line 123: warning: exported method AccountStorage.GetSupply should have comment or be unexported (golint)
    • Line 134: warning: exported method AccountStorage.SetSupply should have comment or be unexported (golint)
    • Line 140: warning: exported method AccountStorage.PartialStoreMap should have comment or be unexported (golint)
    • lino/types/common.go
    • Line 21: warning: comment on exported type Permission should be of the form "Permission ..." (with optional leading article) (golint)
    • Line 24: warning: comment on exported type CapacityLevel should be of the form "CapacityLevel ..." (with optional leading article) (golint)
    • Line 27: warning: comment on exported type ProposalResult should be of the form "ProposalResult ..." (with optional leading article) (golint)
    • Line 30: warning: comment on exported type ProposalType should be of the form "ProposalType ..." (with optional leading article) (golint)
    • Line 33: warning: comment on exported type DonationType should be of the form "DonationType ..." (with optional leading article) (golint)
    • Line 36: warning: comment on exported type TransferDetailType should be of the form "TransferDetailType ..." (with optional leading article) (golint)
    • Line 39: warning: comment on exported type PunishType should be of the form "PunishType ..." (with optional leading article) (golint)
    • Line 49: warning: exported function NewAccOrAddrFromAcc should have comment or be unexported (golint)
    • Line 55: warning: exported function NewAccOrAddrFromAddr should have comment or be unexported (golint)
    • Line 62: warning: exported method AccOrAddr.IsValid should have comment or be unexported (golint)
    • Line 91: warning: exported function AccountListToSet should have comment or be unexported (golint)
    • Line 99: warning: exported method AccountKey.IsValid should have comment or be unexported (golint)
    • lino/x/reputation/repv2/internal/mockkvstore.go
    • Line 9: warning: comment on exported type MockStore should be of the form "MockStore ..." (with optional leading article) (golint)
    • Line 14: warning: exported function NewMockStore should have comment or be unexported (golint)
    • Line 18: warning: exported method MockStore.Set should have comment or be unexported (golint)
    • Line 22: warning: exported method MockStore.Get should have comment or be unexported (golint)
    • Line 25: 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 30: warning: exported method MockStore.Has should have comment or be unexported (golint)
    • Line 35: warning: exported method MockStore.Delete should have comment or be unexported (golint)
    • Line 39: warning: exported method MockStore.Iterator should have comment or be unexported (golint)
    • Line 49: warning: exported type MockStoreItr should have comment or be unexported (golint)
    • Line 56: warning: exported function NewMockStoreItr should have comment or be unexported (golint)
    • Line 64: warning: exported method MockStoreItr.Domain should have comment or be unexported (golint)
    • Line 68: warning: exported method MockStoreItr.Valid should have comment or be unexported (golint)
    • Line 72: warning: exported method MockStoreItr.Next should have comment or be unexported (golint)
    • Line 79: warning: exported method MockStoreItr.Key should have comment or be unexported (golint)
    • Line 83: warning: exported method MockStoreItr.Value should have comment or be unexported (golint)
    • Line 87: warning: exported method MockStoreItr.Close should have comment or be unexported (golint)
    • lino/x/price/types/keys.go
    • Line 13: warning: comment on exported const QueryPriceCurrent should be of the form "QueryPriceCurrent ..." (golint)
    • Line 15: warning: exported const QueryPriceHistory should have comment (or a comment on this block) or be unexported (golint)
    • lino/x/developer/model/dumper.go
    • Line 9: warning: exported function NewDeveloperDumper should have comment or be unexported (golint)
    • Line 21: warning: exported function DumpToFile should have comment or be unexported (golint)
    • Line 26: warning: exported function LoadFromFile should have comment or be unexported (golint)
    • lino/x/developer/types/keys.go
    • Line 4: warning: comment on exported const ModuleName should be of the form "ModuleName ..." (golint)
    • Line 13: warning: comment on exported const QueryDeveloper should be of the form "QueryDeveloper ..." (golint)
    • Line 15: warning: exported const QueryDeveloperList should have comment (or a comment on this block) or be unexported (golint)
    • lino/x/global/model/storage.go
    • Line 14: warning: exported var TimeEventListSubStore should have comment or be unexported (golint)
    • Line 35: warning: exported method GlobalStorage.CanEncode should have comment or be unexported (golint)
    • Line 99: warning: comment on exported method GlobalStorage.SetEventErrors should be of the form "SetEventErrors ..." (golint)
    • Line 106: warning: comment on exported method GlobalStorage.GetBCErrors should be of the form "GetBCErrors ..." (golint)
    • Line 118: warning: comment on exported method GlobalStorage.SetBCErrors should be of the form "SetBCErrors ..." (golint)
    • Line 125: warning: exported method GlobalStorage.PartialStoreMap should have comment or be unexported (golint)
    • Line 153: warning: comment on exported function GetBCErrorKey should be of the form "GetBCErrorKey ..." (golint)
    • lino/types/error.go
    • Line 54: warning: comment on exported function ErrTestDummyError should be of the form "ErrTestDummyError ..." (golint)
    • lino/x/developer/types/codec.go
    • Line 7: warning: comment on exported function RegisterWire should be of the form "RegisterWire ..." (golint)
    • Line 19: warning: exported var ModuleCdc should have comment or be unexported (golint)
    • lino/x/developer/model/storage.go
    • Line 19: warning: exported var DeveloperSubstore should have comment or be unexported (golint)
    • Line 88: warning: comment on exported function NewDeveloperStorage should be of the form "NewDeveloperStorage ..." (golint)
    • Line 162: warning: comment on exported method DeveloperStorage.GetIDABank should be of the form "GetIDABank ..." (golint)
    • Line 177: warning: comment on exported method DeveloperStorage.SetIDABank should be of the form "SetIDABank ..." (golint)
    • Line 209: warning: comment on exported method DeveloperStorage.HasAffiliatedAcc should be of the form "HasAffiliatedAcc ..." (golint)
    • Line 221: warning: exported method DeveloperStorage.GetAllAffiliatedAcc should have comment or be unexported (golint)
    • Line 234: warning: exported method DeveloperStorage.SetUserRole should have comment or be unexported (golint)
    • Line 240: warning: exported method DeveloperStorage.DelUserRole should have comment or be unexported (golint)
    • Line 244: warning: exported method DeveloperStorage.GetUserRole should have comment or be unexported (golint)
    • Line 254: warning: exported method DeveloperStorage.HasUserRole should have comment or be unexported (golint)
    • Line 278: warning: exported method DeveloperStorage.StoreMap should have comment or be unexported (golint)
    • lino/x/vote/types/keys.go
    • Line 4: warning: comment on exported const ModuleName should be of the form "ModuleName ..." (golint)
    • Line 13: warning: exported const QueryVoter should have comment (or a comment on this block) or be unexported (golint)
    • lino/utils/importexport.go
    • Line 54: warning: exported type ValueReactor should have comment or be unexported (golint)
    • Line 55: warning: exported type ValueCreator should have comment or be unexported (golint)
    • Line 56: warning: exported type Unmarshaler should have comment or be unexported (golint)
    • Line 58: warning: exported type SubStore should have comment or be unexported (golint)
    • Line 66: warning: exported method SubStore.Iterate should have comment or be unexported (golint)
    • Line 85: warning: exported type StoreMap should have comment or be unexported (golint)
    • Line 87: warning: exported function NewStoreMap should have comment or be unexported (golint)
    • lino/utils/querier.go
    • Line 12: warning: comment on exported type StoreQuerier should be of the form "StoreQuerier ..." (with optional leading article) (golint)
    • Line 15: warning: comment on exported type QueryResolver should be of the form "QueryResolver ..." (with optional leading article) (golint)
    • Line 18: warning: exported function NewQueryResolver should have comment or be unexported (golint)
    • lino/x/developer/types/msg.go
    • Line 22: warning: comment on exported function NewDeveloperRegisterMsg should be of the form "NewDeveloperRegisterMsg ..." (golint)
    • Line 62: warning: exported method DeveloperRegisterMsg.GetPermission should have comment or be unexported (golint)
    • Line 66: warning: exported method DeveloperRegisterMsg.GetSignBytes should have comment or be unexported (golint)
    • Line 75: warning: exported method DeveloperRegisterMsg.GetConsumeAmount should have comment or be unexported (golint)
    • Line 131: warning: exported method DeveloperUpdateMsg.GetPermission should have comment or be unexported (golint)
    • Line 135: warning: exported method DeveloperUpdateMsg.GetSignBytes should have comment or be unexported (golint)
    • Line 156: warning: comment on exported function NewDeveloperRevokeMsg should be of the form "NewDeveloperRevokeMsg ..." (golint)
    • Line 169: warning: exported method DeveloperRevokeMsg.ValidateBasic should have comment or be unexported (golint)
    • Line 180: warning: exported method DeveloperRevokeMsg.GetPermission should have comment or be unexported (golint)
    • Line 200: warning: comment on exported const IDAPriceMin should be of the form "IDAPriceMin ..." (golint)
    • Line 202: warning: exported const IDAPriceMax should have comment (or a comment on this block) or be unexported (golint)
    • Line 241: warning: exported method IDAIssueMsg.GetPermission should have comment or be unexported (golint)
    • Line 290: warning: exported method IDAMintMsg.GetPermission should have comment or be unexported (golint)
    • Line 356: warning: exported method IDATransferMsg.GetPermission should have comment or be unexported (golint)
    • Line 405: warning: exported method IDAAuthorizeMsg.GetPermission should have comment or be unexported (golint)
    • Line 451: warning: exported method UpdateAffiliatedMsg.GetPermission should have comment or be unexported (golint)
    • lino/x/reputation/repv2/reputation.go
    • Line 12: warning: exported type Reputation should have comment or be unexported (golint)
    • Line 36: warning: exported type ReputationImpl should have comment or be unexported (golint)
    • Line 47: warning: exported function NewReputation should have comment or be unexported (golint)
    • Line 234: warning: comment on exported method ReputationImpl.GetReputation should be of the form "GetReputation ..." (golint)
    • Line 245: warning: comment on exported method ReputationImpl.DonateAt should be of the form "DonateAt ..." (golint)
    • Line 356: warning: comment on exported method ReputationImpl.GetCurrentRound should be of the form "GetCurrentRound ..." (golint)
    • Line 362: warning: comment on exported method ReputationImpl.IncFreeScore should be of the form "IncFreeScore ..." (golint)
    • Line 375: warning: comment on exported method ReputationImpl.Update should be of the form "Update ..." (golint)
    • Line 411: warning: comment on exported method ReputationImpl.StartNewRound should be of the form "StartNewRound ..." (golint)
    • Line 429: warning: comment on exported function IntEMA should be of the form "IntEMA ..." (golint)
    • lino/x/global/manager/manager.go
    • Line 53: warning: exported method GlobalManager.InitGenesis should have comment or be unexported (golint)
    • Line 115: warning: exported method GlobalManager.RegisterEventAtTime should have comment or be unexported (golint)
    • Line 183: warning: exported method GlobalManager.GetBCEventErrors should have comment or be unexported (golint)
    • Line 187: warning: exported method GlobalManager.GetEventErrors should have comment or be unexported (golint)
    • Line 191: warning: exported method GlobalManager.GetGlobalTime should have comment or be unexported (golint)
    • Line 195: warning: exported method GlobalManager.ExportToFile should have comment or be unexported (golint)
    • Line 225: warning: exported method GlobalManager.ImportFromFile should have comment or be unexported (golint)
    • lino/x/validator/types/msg.go
    • Line 25: warning: comment on exported function NewValidatorRegisterMsg should be of the form "NewValidatorRegisterMsg ..." (golint)
    • Line 82: warning: comment on exported function NewValidatorRevokeMsg should be of the form "NewValidatorRevokeMsg ..." (golint)
    • Line 133: warning: comment on exported function NewVoteValidatorMsg should be of the form "NewVoteValidatorMsg ..." (golint)
    • Line 201: warning: comment on exported function NewValidatorUpdateMsg should be of the form "NewValidatorUpdateMsg ..." (golint)
    • lino/param/errors.go
    • Line 131: warning: comment on exported function ErrFailedToMarshalGlobalAllocationParam should be of the form "ErrFailedToMarshalGlobalAllocationParam ..." (golint)
    • lino/x/developer/model/ir.go
    • Line 27: warning: exported type IDABankIR should have comment or be unexported (golint)
    • Line 34: warning: exported type ReservePoolIR should have comment or be unexported (golint)
    • Line 39: warning: exported type AffiliatedAccIR should have comment or be unexported (golint)
    • Line 44: warning: exported type UserRoleIR should have comment or be unexported (golint)
    • Line 49: warning: exported type IDAStatsIR should have comment or be unexported (golint)
    • Line 54: warning: comment on exported type DeveloperTablesIR should be of the form "DeveloperTablesIR ..." (with optional leading article) (golint)
    • lino/x/account/client/cli/tx.go
    • Line 21: warning: exported const FlagTo should have comment (or a comment on this block) or be unexported (golint)
    • Line 33: warning: exported function GetTxCmd should have comment or be unexported (golint)
    • Line 241: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • lino/x/bandwidth/types/keys.go
    • Line 13: warning: comment on exported const QueryBandwidthInfo should be of the form "QueryBandwidthInfo ..." (golint)
    • Line 15: warning: exported const QueryBlockInfo should have comment (or a comment on this block) or be unexported (golint)
    • lino/testutils/dumper.go
    • Line 13: warning: exported type ValueInterface should have comment or be unexported (golint)
    • Line 16: warning: exported type JSONKV should have comment or be unexported (golint)
    • Line 22: warning: exported type JSONState should have comment or be unexported (golint)
    • Line 30: warning: exported type Dumper should have comment or be unexported (golint)
    • Line 37: warning: exported type OptionCodec should have comment or be unexported (golint)
    • Line 47: warning: exported function NewDumper should have comment or be unexported (golint)
    • Line 64: warning: exported method Dumper.RegisterType should have comment or be unexported (golint)
    • Line 74: warning: exported method Dumper.RegisterRawString should have comment or be unexported (golint)
    • Line 81: warning: exported method Dumper.ToJSON should have comment or be unexported (golint)
    • Line 122: warning: exported method Dumper.DumpToFile should have comment or be unexported (golint)
    • Line 138: warning: exported method Dumper.LoadFromFile should have comment or be unexported (golint)
    • lino/types/event.go
    • Line 10: warning: comment on exported type TimeEventList should be of the form "TimeEventList ..." (with optional leading article) (golint)
    • Line 26: warning: comment on exported type BCEventErr should be of the form "BCEventErr ..." (with optional leading article) (golint)
    • Line 34: warning: exported function NewBCEventErr should have comment or be unexported (golint)
    • Line 43: warning: comment on exported type BCEventExec should be of the form "BCEventExec ..." (with optional leading article) (golint)
    • lino/x/validator/querier.go
    • Line 13: warning: comment on exported const ModuleName should be of the form "ModuleName ..." (golint)
    • Line 22: warning: exported const QueryValidator should have comment (or a comment on this block) or be unexported (golint)
    • Line 27: warning: comment on exported function NewQuerier should be of the form "NewQuerier ..." (golint)
    • lino/x/account/manager/manager.go
    • Line 34: warning: comment on exported function NewAccountManager should be of the form "NewAccountManager ..." (golint)
    • Line 42: warning: exported method AccountManager.InitGenesis should have comment or be unexported (golint)
    • Line 66: warning: exported method AccountManager.GetPool should have comment or be unexported (golint)
    • Line 124: warning: comment on exported method AccountManager.MoveBetweenPools should be of the form "MoveBetweenPools ..." (golint)
    • Line 222: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 258: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 291: warning: exported method AccountManager.DoesAccountExist should have comment or be unexported (golint)
    • Line 316: warning: exported method AccountManager.GenesisAccount should have comment or be unexported (golint)
    • Line 353: warning: receiver name accManager should be consistent with previous receiver name am for AccountManager (golint)
    • Line 362: warning: receiver name accManager should be consistent with previous receiver name am for AccountManager (golint)
    • Line 371: warning: comment on exported method AccountManager.GetSigningKey should be of the form "GetSigningKey ..." (golint)
    • Line 372: warning: receiver name accManager should be consistent with previous receiver name am for AccountManager (golint)
    • Line 382: warning: receiver name accManager should be consistent with previous receiver name am for AccountManager (golint)
    • Line 394: warning: comment on exported method AccountManager.GetSavingFromAddress should be of the form "GetSavingFromAddress ..." (golint)
    • Line 395: warning: receiver name accManager should be consistent with previous receiver name am for AccountManager (golint)
    • Line 404: warning: receiver name accManager should be consistent with previous receiver name am for AccountManager (golint)
    • Line 413: warning: receiver name accManager should be consistent with previous receiver name am for AccountManager (golint)
    • Line 422: warning: receiver name accManager should be consistent with previous receiver name am for AccountManager (golint)
    • Line 433: warning: receiver name accManager should be consistent with previous receiver name am for AccountManager (golint)
    • Line 453: warning: receiver name accManager should be consistent with previous receiver name am for AccountManager (golint)
    • Line 480: warning: receiver name accManager should be consistent with previous receiver name am for AccountManager (golint)
    • Line 530: warning: receiver name accManager should be consistent with previous receiver name am for AccountManager (golint)
    • Line 544: warning: comment on exported method AccountManager.GetInfo should be of the form "GetInfo ..." (golint)
    • Line 545: warning: receiver name accManager should be consistent with previous receiver name am for AccountManager (golint)
    • Line 549: warning: exported method AccountManager.GetBank should have comment or be unexported (golint)
    • Line 549: warning: receiver name accManager should be consistent with previous receiver name am for AccountManager (golint)
    • Line 557: warning: exported method AccountManager.GetBankByAddress should have comment or be unexported (golint)
    • Line 557: warning: receiver name accManager should be consistent with previous receiver name am for AccountManager (golint)
    • Line 561: warning: exported method AccountManager.GetMeta should have comment or be unexported (golint)
    • Line 561: warning: receiver name accManager should be consistent with previous receiver name am for AccountManager (golint)
    • Line 565: warning: exported method AccountManager.GetSupply should have comment or be unexported (golint)
    • Line 565: warning: receiver name accManager should be consistent with previous receiver name am for AccountManager (golint)
    • lino/x/reputation/repv2/int.go
    • Line 8: warning: exported type Int should have comment or be unexported (golint)
    • Line 12: warning: exported function NewInt should have comment or be unexported (golint)
    • Line 18: warning: exported function NewIntFromBig should have comment or be unexported (golint)
    • Line 22: warning: exported method Int.Clone should have comment or be unexported (golint)
    • Line 26: warning: comment on exported function IntMax should be of the form "IntMax ..." (golint)
    • Line 31: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 36: warning: exported function IntMin should have comment or be unexported (golint)
    • Line 39: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 44: warning: exported function IntAdd should have comment or be unexported (golint)
    • Line 49: warning: exported function IntSub should have comment or be unexported (golint)
    • Line 54: warning: exported function IntMul should have comment or be unexported (golint)
    • Line 59: warning: exported function IntDiv should have comment or be unexported (golint)
    • Line 64: warning: exported function IntGreater should have comment or be unexported (golint)
    • Line 68: warning: exported function IntGTE should have comment or be unexported (golint)
    • Line 72: warning: exported function IntLess should have comment or be unexported (golint)
    • Line 76: warning: comment on exported function IntDivFrac should be of the form "IntDivFrac ..." (golint)
    • Line 84: warning: comment on exported function IntMulFrac should be of the form "IntMulFrac ..." (golint)
    • Line 96: warning: exported method Int.Add should have comment or be unexported (golint)
    • Line 100: warning: exported method Int.Sub should have comment or be unexported (golint)
    • Line 104: warning: exported method Int.Div should have comment or be unexported (golint)
    • Line 108: warning: exported method Int.Mul should have comment or be unexported (golint)
    • Line 112: warning: exported method Int.Cmp should have comment or be unexported (golint)
    • lino/client/misc.go
    • Line 18: warning: exported function GetNowCmd should have comment or be unexported (golint)
    • Line 31: warning: exported function GetGenAddrCmd should have comment or be unexported (golint)
    • Line 44: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 52: warning: exported function GetAddrOfCmd should have comment or be unexported (golint)
    • Line 70: warning: exported function GetPubKeyOfCmd should have comment or be unexported (golint)
    • Line 87: warning: exported function GetEncryptPrivKey should have comment or be unexported (golint)
    • lino/client/encrypt/encrypt.go
    • Line 21: warning: exported function Encrypt should have comment or be unexported (golint)
    • Line 38: warning: exported function Decrypt should have comment or be unexported (golint)
    • Line 52: warning: exported function EncryptToFile should have comment or be unexported (golint)
    • Line 71: warning: exported function DecryptFromFile should have comment or be unexported (golint)
    • Line 79: warning: exported function DecryptByStdin should have comment or be unexported (golint)
    • lino/x/reputation/repv2/const.go
    • Line 4: warning: comment on exported const DefaultRoundDurationSeconds should be of the form "DefaultRoundDurationSeconds ..." (golint)
    • Line 8: warning: exported const DefaultSampleWindowSize should have comment (or a comment on this block) or be unexported (golint)
    • Line 11: warning: comment on exported const DefaultInitialReputation should be of the form "DefaultInitialReputation ..." (golint)
    • lino/utils/cli.go
    • Line 11: warning: exported function CLIQueryJSONPrint should have comment or be unexported (golint)
    • Line 30: warning: exported function SimpleQueryCmd should have comment or be unexported (golint)
    • lino/x/vote/types/errors.go
    • Line 25: warning: comment on exported function ErrVoterNotFound should be of the form "ErrVoterNotFound ..." (golint)
    • Line 50: warning: comment on exported function ErrNotAVoterOrHasDuty should be of the form "ErrNotAVoterOrHasDuty ..." (golint)
    • Line 55: warning: comment on exported function ErrNoDuty should be of the form "ErrNoDuty ..." (golint)
    • Line 60: warning: comment on exported function ErrFrozenAmountIsNotEmpty should be of the form "ErrFrozenAmountIsNotEmpty ..." (golint)
    • Line 71: warning: comment on exported function ErrInsufficientStake should be of the form "ErrInsufficientStake ..." (golint)
    • lino/param/holder.go
    • Line 522: warning: comment on exported function GetReputationParamKey should be of the form "GetReputationParamKey ..." (golint)
    • Line 527: warning: comment on exported function GetPriceParamKey should be of the form "GetPriceParamKey ..." (golint)
    • lino/x/vote/manager/manager.go
    • Line 48: warning: exported method VoteManager.InitGenesis should have comment or be unexported (golint)
    • Line 58: warning: comment on exported method VoteManager.SetHooks should be of the form "SetHooks ..." (golint)
    • Line 72: warning: exported method VoteManager.StakeIn should have comment or be unexported (golint)
    • Line 86: warning: exported method VoteManager.StakeInFor should have comment or be unexported (golint)
    • Line 133: warning: exported method VoteManager.StakeOut should have comment or be unexported (golint)
    • Line 367: warning: exported method VoteManager.RecordFriction should have comment or be unexported (golint)
    • Line 379: warning: comment on exported method VoteManager.DailyAdvanceLinoStakeStats should be of the form "DailyAdvanceLinoStakeStats ..." (golint)
    • Line 419: warning: exported method VoteManager.GetVoter should have comment or be unexported (golint)
    • Line 423: warning: exported method VoteManager.GetVoterDuty should have comment or be unexported (golint)
    • Line 431: warning: exported method VoteManager.GetLinoStake should have comment or be unexported (golint)
    • Line 439: warning: exported method VoteManager.GetStakeStatsOfDay should have comment or be unexported (golint)
    • Line 444: warning: comment on exported method VoteManager.ExportToFile should be of the form "ExportToFile ..." (golint)
    • Line 476: warning: comment on exported method VoteManager.ImportFromFile should be of the form "ImportFromFile ..." (golint)
    • lino/x/validator/types/errors.go
    • Line 20: warning: comment on exported function ErrUnbalancedAccount should be of the form "ErrUnbalancedAccount ..." (golint)
    • Line 60: warning: comment on exported function ErrValidatorNotFound should be of the form "ErrValidatorNotFound ..." (golint)
    • Line 65: warning: exported function ErrValidatorListNotFound should have comment or be unexported (golint)
    • Line 69: warning: exported function ErrElectionListNotFound should have comment or be unexported (golint)
    • Line 84: warning: exported function ErrInvalidValidator should have comment or be unexported (golint)
    • lino/x/post/client/cli/tx.go
    • Line 14: warning: exported const FlagAuthor should have comment (or a comment on this block) or be unexported (golint)
    • Line 27: warning: exported function GetTxCmd should have comment or be unexported (golint)
    • lino/types/coin.go
    • Line 66: warning: exported function MustLinoToCoin should have comment or be unexported (golint)
    • Line 124: warning: comment on exported method Coin.IsNegative should be of the form "IsNegative ..." (golint)
    • lino/x/post/manager/manager.go
    • Line 26: warning: exported type PostManager should have comment or be unexported (golint)
    • Line 376: warning: exported method PostManager.GetComsumptionWindow should have comment or be unexported (golint)
    • Line 380: warning: comment on exported method PostManager.ExportToFile should be of the form "ExportToFile ..." (golint)
    • Line 403: warning: comment on exported method PostManager.ImportFromFile should be of the form "ImportFromFile ..." (golint)
    • lino/x/reputation/repv2/types.go
    • Line 3: warning: exported type Uid should have comment or be unexported (golint)
    • Line 4: warning: exported type Pid should have comment or be unexported (golint)
    • Line 11: warning: exported type LinoCoin should have comment or be unexported (golint)
    • Line 12: warning: exported type IF should have comment or be unexported (golint)
    • Line 13: warning: exported type Rep should have comment or be unexported (golint)
    • Line 15: warning: exported type RoundId should have comment or be unexported (golint)
    • Line 17: warning: comment on exported type PostIFPair should be of the form "PostIFPair ..." (with optional leading article) (golint)
    • Line 23: warning: comment on exported type Donation should be of the form "Donation ..." (with optional leading article) (golint)
    • lino/client/core/core.go
    • Line 68: warning: exported type OptionalSigner should have comment or be unexported (golint)
    • Line 73: warning: exported method CoreContext.DoTxPrintResponse should have comment or be unexported (golint)
    • Line 100: warning: comment on exported method CoreContext.SignBuildBroadcast should be of the form "SignBuildBroadcast ..." (golint)
    • Line 111: warning: exported function MakeSignature should have comment or be unexported (golint)
    • Line 128: warning: exported method CoreContext.Sign should have comment or be unexported (golint)
    • Line 142: warning: exported method CoreContext.BuildSignMsg should have comment or be unexported (golint)
    • Line 157: warning: exported method CoreContext.BuildAndSign should have comment or be unexported (golint)
    • lino/types/minidollar.go
    • Line 9: warning: comment on exported var TestnetPrice should be of the form "TestnetPrice ..." (golint)
    • Line 14: warning: comment on exported type MiniDollar should be of the form "MiniDollar ..." (with optional leading article) (golint)
    • Line 21: warning: exported function NewMiniDollar should have comment or be unexported (golint)
    • Line 25: warning: exported function NewMiniDollarFromInt should have comment or be unexported (golint)
    • Line 29: warning: exported function NewMiniDollarFromBig should have comment or be unexported (golint)
    • Line 33: warning: comment on exported function NewMiniDollarFromTestnetCoin should be of the form "NewMiniDollarFromTestnetCoin ..." (golint)
    • Line 38: warning: exported method MiniDollar.Plus should have comment or be unexported (golint)
    • Line 42: warning: exported method MiniDollar.Minus should have comment or be unexported (golint)
    • Line 46: warning: exported method MiniDollar.Multiply should have comment or be unexported (golint)
    • Line 50: warning: exported method MiniDollar.Equal should have comment or be unexported (golint)
    • Line 54: warning: exported method MiniDollar.LT should have comment or be unexported (golint)
    • lino/x/reputation/querier.go
    • Line 11: warning: comment on exported const ModuleName should be of the form "ModuleName ..." (golint)
    • Line 20: warning: exported const QueryReputation should have comment (or a comment on this block) or be unexported (golint)
    • Line 23: warning: comment on exported function NewQuerier should be of the form "NewQuerier ..." (golint)
    • lino/x/validator/client/cli/tx.go
    • Line 21: warning: exported const FlagUser should have comment (or a comment on this block) or be unexported (golint)
    • Line 27: warning: exported function GetTxCmd should have comment or be unexported (golint)
    • Line 128: warning: comment on exported function GetCmdUpdate should be of the form "GetCmdUpdate ..." (golint)
    • lino/types/msg.go
    • Line 9: warning: comment on exported type Msg should be of the form "Msg ..." (with optional leading article) (golint)
    • Line 16: warning: exported type AddrMsg should have comment or be unexported (golint)
    • Line 21: warning: comment on exported function RegisterWire should be of the form "RegisterWire ..." (golint)

license100%

Checks whether your project has a LICENSE file.

No problems detected. Good job!


ineffassign100%

IneffAssign detects ineffectual assignments in Go code.

No problems detected. Good job!


misspell100%

Misspell Finds commonly misspelled English words

No problems detected. Good job!