Gofmt formats Go programs. We run gofmt -s
on your code, where -s
is for the "simplify" command
No problems detected. Good job!
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!
Golint is a linter for Go source code.
-
mitum-currency/currency/address.go
- Line 14: warning: exported var AddressType should have comment or be unexported (golint)
- Line 18: warning: exported var EmptyAddress should have comment or be unexported (golint)
- Line 20: warning: exported type Address should have comment or be unexported (golint)
- Line 22: warning: exported function NewAddress should have comment or be unexported (golint)
- Line 28: warning: exported function NewAddressFromKeys should have comment or be unexported (golint)
- Line 36: warning: exported method Address.Raw should have comment or be unexported (golint)
- Line 44: warning: exported method Address.Hint should have comment or be unexported (golint)
- Line 48: warning: exported method Address.IsValid should have comment or be unexported (golint)
- Line 56: warning: exported method Address.Equal should have comment or be unexported (golint)
- Line 64: warning: exported method Address.Bytes should have comment or be unexported (golint)
- Line 68: warning: exported method Address.MarshalText should have comment or be unexported (golint)
- Line 72: warning: exported method Address.UnmarshalText should have comment or be unexported (golint)
- Line 75: 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 82: warning: exported method Address.MarshalLog should have comment or be unexported (golint)
- Line 86: warning: exported type Addresses should have comment or be unexported (golint)
-
mitum-currency/currency/big_json.go
- Line 5: warning: exported method Big.MarshalJSON should have comment or be unexported (golint)
- Line 9: warning: exported method Big.UnmarshalJSON should have comment or be unexported (golint)
- Line 17: 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)
-
mitum-currency/currency/create_accounts_bson.go
- Line 12: warning: exported method CreateAccountsFact.MarshalBSON should have comment or be unexported (golint)
- Line 23: warning: exported type CreateAccountsFactBSONUnpacker should have comment or be unexported (golint)
- Line 30: warning: exported method CreateAccountsFact.UnpackBSON should have comment or be unexported (golint)
- Line 44: warning: exported method CreateAccounts.MarshalBSON should have comment or be unexported (golint)
- Line 52: warning: exported method CreateAccounts.UnpackBSON should have comment or be unexported (golint)
- Line 63: 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)
-
mitum-currency/cmds/currency_register.go
- Line 11: warning: exported type CurrencyFixedFeeerFlags should have comment or be unexported (golint)
- Line 17: warning: exported method CurrencyFixedFeeerFlags.IsValid should have comment or be unexported (golint)
- Line 34: 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 41: warning: exported type CurrencyRatioFeeerFlags should have comment or be unexported (golint)
- Line 49: warning: exported method CurrencyRatioFeeerFlags.IsValid should have comment or be unexported (golint)
- Line 66: 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 73: warning: exported type CurrencyPolicyFlags should have comment or be unexported (golint)
- Line 77: warning: exported method CurrencyPolicyFlags.IsValid should have comment or be unexported (golint)
- Line 81: warning: exported type CurrencyDesignFlags should have comment or be unexported (golint)
- Line 92: warning: exported method CurrencyDesignFlags.IsValid should have comment or be unexported (golint)
- Line 141: 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 148: warning: exported type CurrencyRegisterCommand should have comment or be unexported (golint)
- Line 154: warning: exported function NewCurrencyRegisterCommand should have comment or be unexported (golint)
- Line 160: warning: exported method CurrencyRegisterCommand.Run should have comment or be unexported (golint)
- Line 186: 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 217: 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)
-
mitum-currency/digest/builder.go
- Line 40: warning: exported type Builder should have comment or be unexported (golint)
- Line 45: warning: exported function NewBuilder should have comment or be unexported (golint)
- Line 49: warning: exported method Builder.FactTemplate should have comment or be unexported (golint)
- Line 163: warning: exported method Builder.BuildFact should have comment or be unexported (golint)
- Line 193: 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 206: 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 227: 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 243: 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 250: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
- Line 269: warning: 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 285: 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 305: 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 321: 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 340: 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 356: 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 375: 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 483: warning: exported method Builder.BuildOperation should have comment or be unexported (golint)
-
mitum-currency/digest/handler_manifest.go
- Line 56: 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 93: 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 104: 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 110: 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 116: 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 122: 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 152: 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 198: 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 212: 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 223: 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)
-
mitum-currency/digest/problem.go
- Line 12: warning: exported const ProblemMimetype should have comment (or a comment on this block) or be unexported (golint)
- Line 18: warning: exported var ProblemType should have comment or be unexported (golint)
- Line 31: warning: exported function NewProblem should have comment or be unexported (golint)
- Line 35: warning: exported function NewProblemFromError should have comment or be unexported (golint)
- Line 43: warning: exported method Problem.Hint should have comment or be unexported (golint)
- Line 51: warning: exported method Problem.SetTitle should have comment or be unexported (golint)
- Line 57: warning: exported method Problem.SetDetail should have comment or be unexported (golint)
- Line 63: warning: exported method Problem.SetExtra should have comment or be unexported (golint)
- Line 80: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
-
mitum-currency/currency/currency_design_json.go
- Line 10: warning: exported type CurrencyDesignJSONPacker should have comment or be unexported (golint)
- Line 17: warning: exported method CurrencyDesign.MarshalJSON should have comment or be unexported (golint)
- Line 26: warning: exported type CurrencyDesignJSONUnpacker should have comment or be unexported (golint)
- Line 32: warning: exported method CurrencyDesign.UnpackJSON should have comment or be unexported (golint)
-
mitum-currency/currency/currency_policy_updater_json.go
- Line 11: warning: exported type CurrencyPolicyUpdaterFactJSONPacker should have comment or be unexported (golint)
- Line 19: warning: exported method CurrencyPolicyUpdaterFact.MarshalJSON should have comment or be unexported (golint)
- Line 29: warning: exported type CurrencyPolicyUpdaterFactJSONUnpacker should have comment or be unexported (golint)
- Line 36: warning: exported method CurrencyPolicyUpdaterFact.UnpackJSON should have comment or be unexported (golint)
- Line 45: warning: exported method CurrencyPolicyUpdater.MarshalJSON should have comment or be unexported (golint)
- Line 52: warning: exported method CurrencyPolicyUpdater.UnpackJSON should have comment or be unexported (golint)
- Line 63: 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)
-
mitum-currency/currency/currency_policy_updater_process.go
- Line 12: warning: exported method CurrencyPolicyUpdater.Process should have comment or be unexported (golint)
- Line 20: warning: exported type CurrencyPolicyUpdaterProcessor should have comment or be unexported (golint)
- Line 29: warning: exported function NewCurrencyPolicyUpdaterProcessor should have comment or be unexported (golint)
- Line 37: 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 48: warning: exported method CurrencyPolicyUpdaterProcessor.PreProcess should have comment or be unexported (golint)
- Line 82: 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 90: warning: exported method CurrencyPolicyUpdaterProcessor.Process should have comment or be unexported (golint)
- Line 98: 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)
-
mitum-currency/currency/transfers_item.go
- Line 10: warning: exported type BaseTransfersItem should have comment or be unexported (golint)
- Line 16: warning: exported function NewBaseTransfersItem should have comment or be unexported (golint)
- Line 24: warning: exported method BaseTransfersItem.Hint should have comment or be unexported (golint)
- Line 28: warning: exported method BaseTransfersItem.Bytes should have comment or be unexported (golint)
- Line 39: warning: exported method BaseTransfersItem.IsValid should have comment or be unexported (golint)
- Line 53: 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 67: warning: exported method BaseTransfersItem.Receiver should have comment or be unexported (golint)
- Line 71: warning: exported method BaseTransfersItem.Amounts should have comment or be unexported (golint)
- Line 75: warning: exported method BaseTransfersItem.Rebuild should have comment or be unexported (golint)
-
mitum-currency/currency/transfers_single_amount.go
- Line 10: warning: exported var TransfersItemSingleAmountType should have comment or be unexported (golint)
- Line 15: warning: exported type TransfersItemSingleAmount should have comment or be unexported (golint)
- Line 19: warning: exported function NewTransfersItemSingleAmount should have comment or be unexported (golint)
- Line 25: warning: exported method TransfersItemSingleAmount.IsValid should have comment or be unexported (golint)
- Line 37: warning: exported method TransfersItemSingleAmount.Rebuild should have comment or be unexported (golint)
-
mitum-currency/currency/transfers_process.go
- Line 10: warning: exported method Transfers.Process should have comment or be unexported (golint)
- Line 18: warning: exported type TransfersItemProcessor should have comment or be unexported (golint)
- Line 27: warning: exported method TransfersItemProcessor.PreProcess should have comment or be unexported (golint)
- Line 47: 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 57: warning: exported method TransfersItemProcessor.Process should have comment or be unexported (golint)
- Line 70: warning: exported type TransfersProcessor should have comment or be unexported (golint)
- Line 78: warning: exported function NewTransfersProcessor should have comment or be unexported (golint)
- Line 82: 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 91: warning: exported method TransfersProcessor.PreProcess should have comment or be unexported (golint)
- Line 129: warning: exported method TransfersProcessor.Process should have comment or be unexported (golint)
- Line 139: 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)
-
mitum-currency/cmds/sign_fact.go
- Line 11: warning: exported type SignFactCommand should have comment or be unexported (golint)
- Line 19: warning: exported function NewSignFactCommand should have comment or be unexported (golint)
- Line 25: warning: exported method SignFactCommand.Run should have comment or be unexported (golint)
- Line 61: 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 66: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
- Line 76: warning: 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)
-
mitum-currency/digest/problem_json.go
- Line 8: warning: exported method Problem.MarshalJSON should have comment or be unexported (golint)
- Line 24: warning: exported method Problem.UnmarshalJSON should have comment or be unexported (golint)
- Line 50: 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 55: 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)
-
mitum-currency/currency/account_json.go
- Line 11: warning: exported type AccountPackerJSON should have comment or be unexported (golint)
- Line 18: warning: exported method Account.PackerJSON should have comment or be unexported (golint)
- Line 27: warning: exported method Account.MarshalJSON should have comment or be unexported (golint)
- Line 31: warning: exported type AccountJSONUnpacker should have comment or be unexported (golint)
- Line 37: warning: exported method Account.UnpackJSON should have comment or be unexported (golint)
-
mitum-currency/digest/handler.go
- Line 28: warning: exported var HTTP2EncoderHintHeader should have comment or be unexported (golint)
- Line 33: warning: exported var HandlerPathNodeInfo should have comment or be unexported (golint)
- Line 53: warning: exported var RateLimitHandlerMap should have comment or be unexported (golint)
- Line 75: warning: exported var UnknownProblem should have comment or be unexported (golint)
- Line 79: warning: exported var GlobalItemsLimit should have comment or be unexported (golint)
- Line 89: warning: exported type Handlers should have comment or be unexported (golint)
- Line 107: warning: exported function NewHandlers should have comment or be unexported (golint)
- Line 133: warning: exported method Handlers.Initialize should have comment or be unexported (golint)
- Line 147: warning: exported method Handlers.SetLimiter should have comment or be unexported (golint)
- Line 153: warning: exported method Handlers.Handler should have comment or be unexported (golint)
- Line 264: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
- Line 271: 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 334: warning: exported method Handlers.SetRateLimit should have comment or be unexported (golint)
-
mitum-currency/currency/currency_register_json.go
- Line 11: warning: exported type CurrencyRegisterFactJSONPacker should have comment or be unexported (golint)
- Line 18: warning: exported method CurrencyRegisterFact.MarshalJSON should have comment or be unexported (golint)
- Line 27: warning: exported type CurrencyRegisterFactJSONUnpacker should have comment or be unexported (golint)
- Line 33: warning: exported method CurrencyRegisterFact.UnpackJSON should have comment or be unexported (golint)
- Line 42: warning: exported method CurrencyRegister.MarshalJSON should have comment or be unexported (golint)
- Line 49: warning: exported method CurrencyRegister.UnpackJSON should have comment or be unexported (golint)
- Line 60: 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)
-
mitum-currency/currency/transfers_bson.go
- Line 12: warning: exported method TransfersFact.MarshalBSON should have comment or be unexported (golint)
- Line 23: warning: exported type TransfersFactBSONUnpacker should have comment or be unexported (golint)
- Line 30: warning: exported method TransfersFact.UnpackBSON should have comment or be unexported (golint)
- Line 44: warning: exported method Transfers.MarshalBSON should have comment or be unexported (golint)
- Line 52: warning: exported method Transfers.UnpackBSON should have comment or be unexported (golint)
- Line 63: 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)
-
mitum-currency/digest/handler_block.go
- Line 48: 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 54: 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 61: 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 67: 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 79: 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 85: 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 92: 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 99: 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 105: 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 120: 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 126: 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)
-
mitum-currency/currency/keys_json.go
- Line 11: warning: exported type KeyJSONPacker should have comment or be unexported (golint)
- Line 17: warning: exported method Key.MarshalJSON should have comment or be unexported (golint)
- Line 25: warning: exported type KeyJSONUnpacker should have comment or be unexported (golint)
- Line 30: warning: exported method Key.UnpackJSON should have comment or be unexported (golint)
- Line 39: warning: exported type KeysJSONPacker should have comment or be unexported (golint)
- Line 46: warning: exported method Keys.MarshalJSON should have comment or be unexported (golint)
- Line 55: warning: exported type KeysJSONUnpacker should have comment or be unexported (golint)
- Line 61: warning: exported method Keys.UnpackJSON should have comment or be unexported (golint)
-
mitum-currency/currency/genesis_currencies_encode.go
- Line 21: 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 43: 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)
-
mitum-currency/currency/keys.go
- Line 17: warning: exported var KeyType should have comment or be unexported (golint)
- Line 24: warning: exported var MaxKeyInKeys should have comment or be unexported (golint)
- Line 32: warning: exported type Key should have comment or be unexported (golint)
- Line 37: warning: exported function NewKey should have comment or be unexported (golint)
- Line 43: warning: exported method Key.IsValid should have comment or be unexported (golint)
- Line 55: warning: exported method Key.Weight should have comment or be unexported (golint)
- Line 59: warning: exported method Key.Key should have comment or be unexported (golint)
- Line 63: warning: exported method Key.Hint should have comment or be unexported (golint)
- Line 67: warning: exported method Key.Bytes should have comment or be unexported (golint)
- Line 71: warning: exported method Key.Equal should have comment or be unexported (golint)
- Line 83: warning: exported type Keys should have comment or be unexported (golint)
- Line 89: warning: exported function NewKeys should have comment or be unexported (golint)
- Line 93: 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 100: warning: exported method Keys.Hint should have comment or be unexported (golint)
- Line 104: warning: exported method Keys.Hash should have comment or be unexported (golint)
- Line 108: warning: exported method Keys.GenerateHash should have comment or be unexported (golint)
- Line 112: warning: exported method Keys.Bytes should have comment or be unexported (golint)
- Line 128: warning: exported method Keys.IsValid should have comment or be unexported (golint)
- Line 173: warning: exported method Keys.Threshold should have comment or be unexported (golint)
- Line 177: warning: exported method Keys.Keys should have comment or be unexported (golint)
- Line 181: warning: exported method Keys.Key should have comment or be unexported (golint)
- Line 192: warning: exported method Keys.Equal should have comment or be unexported (golint)
-
mitum-currency/currency/state.go
- Line 16: warning: exported var StateKeyAccountSuffix should have comment or be unexported (golint)
- Line 21: warning: exported function StateAddressKeyPrefix should have comment or be unexported (golint)
- Line 25: warning: exported function StateBalanceKeyPrefix should have comment or be unexported (golint)
- Line 29: warning: exported function StateKeyAccount should have comment or be unexported (golint)
- Line 33: warning: exported function IsStateAccountKey should have comment or be unexported (golint)
- Line 37: warning: exported function LoadStateAccountValue should have comment or be unexported (golint)
- Line 45: 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 50: warning: exported function SetStateAccountValue should have comment or be unexported (golint)
- Line 53: 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 58: warning: exported function StateKeysValue should have comment or be unexported (golint)
- Line 61: 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 66: warning: exported function SetStateKeysValue should have comment or be unexported (golint)
- Line 75: 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 91: warning: exported function StateKeyBalance should have comment or be unexported (golint)
- Line 95: warning: exported function IsStateBalanceKey should have comment or be unexported (golint)
- Line 99: warning: exported function StateBalanceValue should have comment or be unexported (golint)
- Line 107: 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 112: warning: exported function SetStateBalanceValue should have comment or be unexported (golint)
- Line 115: 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 120: warning: exported function IsStateCurrencyDesignKey should have comment or be unexported (golint)
- Line 124: warning: exported function StateKeyCurrencyDesign should have comment or be unexported (golint)
- Line 128: warning: exported function StateCurrencyDesignValue 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 (move short variable declaration to its own line if necessary) (golint)
- Line 141: warning: exported function SetStateCurrencyDesignValue should have comment or be unexported (golint)
- Line 144: 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)
-
mitum-currency/cmds/flags.go
- Line 21: warning: exported type KeyFlag should have comment or be unexported (golint)
- Line 25: warning: exported method KeyFlag.UnmarshalText should have comment or be unexported (golint)
- Line 29: 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 66: warning: exported type StringLoad should have comment or be unexported (golint)
- Line 68: warning: exported method StringLoad.UnmarshalText should have comment or be unexported (golint)
- Line 72: 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 84: warning: exported method StringLoad.Bytes should have comment or be unexported (golint)
- Line 92: warning: exported type PrivatekeyFlag should have comment or be unexported (golint)
- Line 97: warning: exported method PrivatekeyFlag.Empty should have comment or be unexported (golint)
- Line 101: warning: exported method PrivatekeyFlag.UnmarshalText should have comment or be unexported (golint)
- Line 115: warning: exported type AddressFlag should have comment or be unexported (golint)
- Line 120: warning: exported method AddressFlag.UnmarshalText should have comment or be unexported (golint)
- Line 123: 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 135: warning: exported method AddressFlag.Encode should have comment or be unexported (golint)
- Line 139: warning: exported type BigFlag should have comment or be unexported (golint)
- Line 143: warning: exported method BigFlag.UnmarshalText should have comment or be unexported (golint)
- Line 155: warning: exported type FileLoad should have comment or be unexported (golint)
- Line 157: warning: exported method FileLoad.UnmarshalText 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 (move short variable declaration to its own line if necessary) (golint)
- Line 170: 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 177: warning: exported method FileLoad.Bytes should have comment or be unexported (golint)
- Line 185: warning: exported type CurrencyIDFlag should have comment or be unexported (golint)
- Line 189: warning: exported method CurrencyIDFlag.UnmarshalText should have comment or be unexported (golint)
- Line 193: 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)
-
mitum-currency/cmds/key_verify.go
- Line 12: warning: exported type VerifyKeyCommand should have comment or be unexported (golint)
- Line 20: warning: exported function NewVerifyKeyCommand should have comment or be unexported (golint)
- Line 26: warning: exported method VerifyKeyCommand.Run should have comment or be unexported (golint)
- Line 38: 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)
-
mitum-currency/currency/currency_policy.go
- Line 10: warning: exported var CurrencyPolicyType should have comment or be unexported (golint)
- Line 14: warning: exported type CurrencyPolicy should have comment or be unexported (golint)
- Line 19: warning: exported function NewCurrencyPolicy should have comment or be unexported (golint)
- Line 23: warning: exported method CurrencyPolicy.Hint should have comment or be unexported (golint)
- Line 27: warning: exported method CurrencyPolicy.Bytes should have comment or be unexported (golint)
- Line 31: warning: exported method CurrencyPolicy.IsValid should have comment or be unexported (golint)
- Line 43: warning: exported method CurrencyPolicy.NewAccountMinBalance should have comment or be unexported (golint)
- Line 47: warning: exported method CurrencyPolicy.Feeer should have comment or be unexported (golint)
-
mitum-currency/cmds/design_json.go
- Line 8: warning: exported method FeeerDesign.MarshalJSON should have comment or be unexported (golint)
- Line 19: warning: exported type DigestDesignPackerJSON should have comment or be unexported (golint)
- Line 24: warning: exported method DigestDesign.MarshalJSON should have comment or be unexported (golint)
-
mitum-currency/cmds/key_generate.go
- Line 10: warning: exported type GenerateKeyCommand should have comment or be unexported (golint)
- Line 17: warning: exported function NewGenerateKeyCommand should have comment or be unexported (golint)
- Line 23: warning: exported method GenerateKeyCommand.Run should have comment or be unexported (golint)
-
mitum-currency/cmds/seal.go
- Line 3: warning: exported type SealCommand should have comment or be unexported (golint)
- Line 14: warning: exported function NewSealCommand should have comment or be unexported (golint)
-
mitum-currency/cmds/create_account.go
- Line 17: warning: exported type CreateAccountCommand should have comment or be unexported (golint)
- Line 30: warning: exported function NewCreateAccountCommand should have comment or be unexported (golint)
- Line 36: warning: exported method CreateAccountCommand.Run should have comment or be unexported (golint)
- Line 48: 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 59: 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 73: 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 103: 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 119: 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 128: 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 134: 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 166: 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 187: 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)
-
mitum-currency/cmds/key_address.go
- Line 12: warning: exported var KeyAddressVars should have comment or be unexported (golint)
- Line 16: warning: exported type KeyAddressCommand should have comment or be unexported (golint)
- Line 22: warning: exported function NewKeyAddressCommand should have comment or be unexported (golint)
- Line 28: warning: exported method KeyAddressCommand.Run should have comment or be unexported (golint)
- Line 47: 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)
-
mitum-currency/currency/big_bson.go
- Line 9: warning: exported method Big.MarshalBSONValue should have comment or be unexported (golint)
- Line 13: warning: exported method Big.UnmarshalBSONValue 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)
-
mitum-currency/currency/create_accounts.go
- Line 15: warning: exported var CreateAccountsFactType should have comment or be unexported (golint)
- Line 21: warning: exported var MaxCreateAccountsItems should have comment or be unexported (golint)
- Line 23: warning: exported type AmountsItem should have comment or be unexported (golint)
- Line 27: warning: exported type CreateAccountsItem should have comment or be unexported (golint)
- Line 37: warning: exported type CreateAccountsFact should have comment or be unexported (golint)
- Line 44: warning: exported function NewCreateAccountsFact should have comment or be unexported (golint)
- Line 55: warning: exported method CreateAccountsFact.Hint should have comment or be unexported (golint)
- Line 59: warning: exported method CreateAccountsFact.Hash should have comment or be unexported (golint)
- Line 63: warning: exported method CreateAccountsFact.GenerateHash should have comment or be unexported (golint)
- Line 67: warning: exported method CreateAccountsFact.Bytes should have comment or be unexported (golint)
- Line 80: warning: exported method CreateAccountsFact.IsValid should have comment or be unexported (golint)
- Line 125: warning: exported method CreateAccountsFact.Token should have comment or be unexported (golint)
- Line 129: warning: exported method CreateAccountsFact.Sender should have comment or be unexported (golint)
- Line 133: warning: exported method CreateAccountsFact.Items should have comment or be unexported (golint)
- Line 137: warning: exported method CreateAccountsFact.Targets should have comment or be unexported (golint)
- Line 142: 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 150: warning: exported method CreateAccountsFact.Addresses should have comment or be unexported (golint)
- Line 155: 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 164: warning: exported method CreateAccountsFact.Rebulild should have comment or be unexported (golint)
- Line 177: warning: exported type CreateAccounts should have comment or be unexported (golint)
- Line 182: warning: exported function NewCreateAccounts should have comment or be unexported (golint)
- Line 185: 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 194: warning: exported method CreateAccounts.Hint should have comment or be unexported (golint)
- Line 198: warning: exported method CreateAccounts.IsValid should have comment or be unexported (golint)
- Line 206: warning: exported method CreateAccounts.GenerateHash should have comment or be unexported (golint)
- Line 219: warning: exported method CreateAccounts.AddFactSigns should have comment or be unexported (golint)
- Line 222: 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)
-
mitum-currency/currency/genesis_currencies_bson.go
- Line 12: warning: exported method GenesisCurrenciesFact.MarshalBSON should have comment or be unexported (golint)
- Line 24: warning: exported type GenesisCurrenciesFactBSONUnpacker should have comment or be unexported (golint)
- Line 32: warning: exported method GenesisCurrenciesFact.UnpackBSON should have comment or be unexported (golint)
- Line 46: warning: exported method GenesisCurrencies.MarshalBSON should have comment or be unexported (golint)
- Line 50: warning: exported method GenesisCurrencies.UnpackBSON should have comment or be unexported (golint)
-
mitum-currency/currency/keyupdater_process.go
- Line 10: warning: exported method KeyUpdater.Process should have comment or be unexported (golint)
- Line 17: warning: exported type KeyUpdaterProcessor should have comment or be unexported (golint)
- Line 25: warning: exported function NewKeyUpdaterProcessor should have comment or be unexported (golint)
- Line 29: 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 38: warning: exported method KeyUpdaterProcessor.PreProcess should have comment or be unexported (golint)
- Line 46: 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 58: 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 69: 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 75: 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 89: warning: exported method KeyUpdaterProcessor.Process should have comment or be unexported (golint)
- Line 98: 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)
-
mitum-currency/digest/util.go
- Line 14: warning: exported function IsAccountState should have comment or be unexported (golint)
- Line 21: 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 26: warning: exported function IsBalanceState should have comment or be unexported (golint)
- Line 33: 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)
-
mitum-currency/currency/currency_policy_updater_bson.go
- Line 10: warning: exported method CurrencyPolicyUpdaterFact.MarshalBSON should have comment or be unexported (golint)
- Line 22: warning: exported type CurrencyPolicyUpdaterFactBSONUnpacker should have comment or be unexported (golint)
- Line 29: warning: exported method CurrencyPolicyUpdaterFact.UnpackBSON should have comment or be unexported (golint)
- Line 38: warning: exported method CurrencyPolicyUpdater.MarshalBSON should have comment or be unexported (golint)
- Line 46: warning: exported method CurrencyPolicyUpdater.UnpackBSON should have comment or be unexported (golint)
- Line 57: 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)
-
mitum-currency/currency/currency_register_bson.go
- Line 10: warning: exported method CurrencyRegisterFact.MarshalBSON should have comment or be unexported (golint)
- Line 21: warning: exported type CurrencyRegisterFactBSONUnpacker should have comment or be unexported (golint)
- Line 27: warning: exported method CurrencyRegisterFact.UnpackBSON should have comment or be unexported (golint)
- Line 36: warning: exported method CurrencyRegister.MarshalBSON should have comment or be unexported (golint)
- Line 44: warning: exported method CurrencyRegister.UnpackBSON should have comment or be unexported (golint)
- Line 55: 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)
-
mitum-currency/currency/feeer.go
- Line 16: warning: exported const FeeerNil should have comment (or a comment on this block) or be unexported (golint)
- Line 22: warning: exported var NilFeeerType should have comment or be unexported (golint)
- Line 30: warning: exported var UnlimitedMaxFeeAmount should have comment or be unexported (golint)
- Line 32: warning: exported type Feeer should have comment or be unexported (golint)
- Line 42: warning: exported type NilFeeer should have comment or be unexported (golint)
- Line 44: warning: exported function NewNilFeeer should have comment or be unexported (golint)
- Line 48: warning: exported method NilFeeer.Type should have comment or be unexported (golint)
- Line 52: warning: exported method NilFeeer.Hint should have comment or be unexported (golint)
- Line 56: warning: exported method NilFeeer.Bytes should have comment or be unexported (golint)
- Line 60: warning: exported method NilFeeer.Receiver should have comment or be unexported (golint)
- Line 64: warning: exported method NilFeeer.Min should have comment or be unexported (golint)
- Line 68: warning: exported method NilFeeer.Fee should have comment or be unexported (golint)
- Line 72: warning: exported method NilFeeer.IsValid should have comment or be unexported (golint)
- Line 76: warning: exported type FixedFeeer should have comment or be unexported (golint)
- Line 81: warning: exported function NewFixedFeeer should have comment or be unexported (golint)
- Line 85: warning: exported method FixedFeeer.Type should have comment or be unexported (golint)
- Line 89: warning: exported method FixedFeeer.Hint should have comment or be unexported (golint)
- Line 93: warning: exported method FixedFeeer.Bytes should have comment or be unexported (golint)
- Line 97: warning: exported method FixedFeeer.Receiver should have comment or be unexported (golint)
- Line 101: warning: exported method FixedFeeer.Min should have comment or be unexported (golint)
- Line 105: warning: exported method FixedFeeer.Fee should have comment or be unexported (golint)
- Line 113: warning: exported method FixedFeeer.IsValid should have comment or be unexported (golint)
- Line 129: warning: exported type RatioFeeer should have comment or be unexported (golint)
- Line 136: warning: exported function NewRatioFeeer should have comment or be unexported (golint)
- Line 145: warning: exported method RatioFeeer.Type should have comment or be unexported (golint)
- Line 149: warning: exported method RatioFeeer.Hint should have comment or be unexported (golint)
- Line 153: warning: exported method RatioFeeer.Bytes should have comment or be unexported (golint)
- Line 160: warning: exported method RatioFeeer.Receiver should have comment or be unexported (golint)
- Line 164: warning: exported method RatioFeeer.Min should have comment or be unexported (golint)
- Line 168: warning: exported method RatioFeeer.Fee should have comment or be unexported (golint)
- Line 182: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
- Line 188: warning: exported method RatioFeeer.IsValid should have comment or be unexported (golint)
- Line 222: warning: exported function NewFeeToken should have comment or be unexported (golint)
-
mitum-currency/currency/feeer_encode.go
- Line 11: 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 23: 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)
-
mitum-currency/currency/transfers_encode.go
- Line 20: 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 28: 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 48: 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 56: 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)
-
mitum-currency/cmds/run_node.go
- Line 28: warning: exported var RunCommandProcesses should have comment or be unexported (golint)
- Line 30: warning: exported var RunCommandHooks should have comment or be unexported (golint)
- Line 59: warning: exported type RunCommand should have comment or be unexported (golint)
- Line 64: warning: exported function NewRunCommand should have comment or be unexported (golint)
- Line 74: 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 150: 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 194: 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 201: 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 206: 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 214: 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 227: 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 258: 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 310: 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 329: 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 363: 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)
-
mitum-currency/digest/cache.go
- Line 22: warning: exported var DefaultCacheExpire should have comment or be unexported (golint)
- Line 26: warning: exported type Cache should have comment or be unexported (golint)
- Line 31: warning: exported function NewCacheFromURI should have comment or be unexported (golint)
- Line 34: 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 47: warning: exported type LocalMemCache should have comment or be unexported (golint)
- Line 51: warning: exported function NewLocalMemCache should have comment or be unexported (golint)
- Line 59: warning: exported method LocalMemCache.Get should have comment or be unexported (golint)
- Line 62: 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 67: warning: exported method LocalMemCache.Set should have comment or be unexported (golint)
- Line 71: warning: exported type Memcached should have comment or be unexported (golint)
- Line 75: warning: exported function NewMemcached should have comment or be unexported (golint)
- Line 78: 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 89: warning: exported method Memcached.Get should have comment or be unexported (golint)
- Line 92: 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 97: warning: exported method Memcached.Set should have comment or be unexported (golint)
- Line 101: warning: exported type DummyCache should have comment or be unexported (golint)
- Line 103: warning: exported method DummyCache.Get should have comment or be unexported (golint)
- Line 107: warning: exported method DummyCache.Set should have comment or be unexported (golint)
- Line 111: warning: exported type CachedHTTPHandler should have comment or be unexported (golint)
- Line 117: warning: exported function NewCachedHTTPHandler should have comment or be unexported (golint)
- Line 139: warning: exported type CacheResponseWriter should have comment or be unexported (golint)
- Line 151: warning: exported function NewCacheResponseWriter should have comment or be unexported (golint)
- Line 167: warning: exported method CacheResponseWriter.WriteHeader should have comment or be unexported (golint)
- Line 172: warning: exported method CacheResponseWriter.OK should have comment or be unexported (golint)
- Line 191: warning: exported method CacheResponseWriter.Key should have comment or be unexported (golint)
- Line 199: warning: exported method CacheResponseWriter.SetKey should have comment or be unexported (golint)
- Line 205: warning: exported method CacheResponseWriter.Expire should have comment or be unexported (golint)
- Line 213: warning: exported method CacheResponseWriter.SetExpire should have comment or be unexported (golint)
- Line 219: warning: exported method CacheResponseWriter.SkipCache should have comment or be unexported (golint)
- Line 225: warning: exported method CacheResponseWriter.Cache should have comment or be unexported (golint)
- Line 237: 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 245: warning: exported function ScanCRLF should have comment or be unexported (golint)
- Line 285: 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)
-
mitum-currency/digest/doc_operation.go
- Line 14: warning: exported type OperationDoc should have comment or be unexported (golint)
- Line 22: warning: exported function NewOperationDoc should have comment or be unexported (golint)
- Line 35: 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 58: warning: exported method OperationDoc.MarshalBSON should have comment or be unexported (golint)
-
mitum-currency/cmds/node.go
- Line 3: warning: exported type NodeCommand should have comment or be unexported (golint)
- Line 9: warning: exported function NewNodeCommand should have comment or be unexported (golint)
- Line 13: 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 20: 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)
-
mitum-currency/cmds/process_digest_database.go
- Line 18: warning: exported const ProcessNameDigestDatabase should have comment or be unexported (golint)
- Line 20: warning: exported var ProcessorDigestDatabase should have comment or be unexported (golint)
- Line 34: warning: exported function ProcessDigestDatabase should have comment or be unexported (golint)
- Line 51: 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 67: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
- Line 76: warning: 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 82: 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 89: 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)
-
mitum-currency/currency/transfers.go
- Line 15: warning: exported var TransfersFactType should have comment or be unexported (golint)
- Line 21: warning: exported var MaxTransferItems should have comment or be unexported (golint)
- Line 23: warning: exported type TransfersItem should have comment or be unexported (golint)
- Line 32: warning: exported type TransfersFact should have comment or be unexported (golint)
- Line 39: warning: exported function NewTransfersFact should have comment or be unexported (golint)
- Line 50: warning: exported method TransfersFact.Hint should have comment or be unexported (golint)
- Line 54: warning: exported method TransfersFact.Hash should have comment or be unexported (golint)
- Line 58: warning: exported method TransfersFact.GenerateHash should have comment or be unexported (golint)
- Line 62: warning: exported method TransfersFact.Token should have comment or be unexported (golint)
- Line 66: warning: exported method TransfersFact.Bytes should have comment or be unexported (golint)
- Line 79: warning: exported method TransfersFact.IsValid should have comment or be unexported (golint)
- Line 117: warning: exported method TransfersFact.Sender should have comment or be unexported (golint)
- Line 121: warning: exported method TransfersFact.Items should have comment or be unexported (golint)
- Line 125: warning: exported method TransfersFact.Rebulild should have comment or be unexported (golint)
- Line 138: warning: exported method TransfersFact.Addresses should have comment or be unexported (golint)
- Line 149: warning: exported type Transfers should have comment or be unexported (golint)
- Line 154: warning: exported function NewTransfers 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 (move short variable declaration to its own line if necessary) (golint)
- Line 170: warning: exported method Transfers.Hint should have comment or be unexported (golint)
- Line 174: warning: exported method Transfers.IsValid should have comment or be unexported (golint)
- Line 182: warning: exported method Transfers.GenerateHash should have comment or be unexported (golint)
- Line 195: warning: exported method Transfers.AddFactSigns should have comment or be unexported (golint)
- Line 198: 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)
-
mitum-currency/currency/amount_bson.go
- Line 8: warning: exported type AmountBSONPacker should have comment or be unexported (golint)
- Line 13: warning: exported method Amount.MarshalBSON should have comment or be unexported (golint)
- Line 23: warning: exported type AmountBSONUnpacker should have comment or be unexported (golint)
- Line 28: warning: exported method Amount.UnmarshalBSON should have comment or be unexported (golint)
-
mitum-currency/currency/signs.go
- Line 37: 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 40: 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)
-
mitum-currency/cmds/process_digester.go
- Line 23: warning: exported const ProcessNameDigester should have comment (or a comment on this block) or be unexported (golint)
- Line 29: warning: exported var ProcessorDigester should have comment or be unexported (golint)
- Line 55: warning: exported function ProcessDigester should have comment or be unexported (golint)
- Line 76: warning: exported function ProcessStartDigester should have comment or be unexported (golint)
- Line 89: warning: exported function HookDigesterFollowUp should have comment or be unexported (golint)
- Line 126: 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)
-
mitum-currency/digest/account_value_bson.go
- Line 9: warning: exported method AccountValue.MarshalBSON should have comment or be unexported (golint)
- Line 21: warning: exported type AccountValueBSONUnpacker should have comment or be unexported (golint)
- Line 28: warning: exported method AccountValue.UnpackBSON should have comment or be unexported (golint)
-
mitum-currency/digest/account_value_json.go
- Line 11: warning: exported type AccountValueJSONPacker should have comment or be unexported (golint)
- Line 19: warning: exported method AccountValue.MarshalJSON should have comment or be unexported (golint)
- Line 29: warning: exported type AccountValueJSONUnpacker should have comment or be unexported (golint)
- Line 35: warning: exported method AccountValue.UnpackJSON should have comment or be unexported (golint)
-
mitum-currency/digest/node_info.go
- Line 10: warning: exported var NodeInfoType should have comment or be unexported (golint)
- Line 14: warning: exported type NodeInfo should have comment or be unexported (golint)
- Line 18: warning: exported function NewNodeInfo should have comment or be unexported (golint)
- Line 24: warning: exported method NodeInfo.Hint should have comment or be unexported (golint)
-
mitum-currency/digest/operation_value.go
- Line 12: warning: exported var OperationValueType should have comment or be unexported (golint)
- Line 16: warning: exported type OperationValue should have comment or be unexported (golint)
- Line 25: warning: exported function NewOperationValue should have comment or be unexported (golint)
- Line 36: warning: exported method OperationValue.Hint should have comment or be unexported (golint)
- Line 40: warning: exported method OperationValue.Operation should have comment or be unexported (golint)
- Line 44: warning: exported method OperationValue.Height should have comment or be unexported (golint)
- Line 48: warning: exported method OperationValue.ConfirmedAt should have comment or be unexported (golint)
- Line 52: warning: exported method OperationValue.InState should have comment or be unexported (golint)
- Line 56: warning: exported method OperationValue.Reason should have comment or be unexported (golint)
-
mitum-currency/cmds/context.go
- Line 17: warning: exported var ContextValueDigestDesign should have comment or be unexported (golint)
- Line 24: warning: exported function LoadDigestDesignContextValue should have comment or be unexported (golint)
- Line 28: warning: exported function LoadDatabaseContextValue should have comment or be unexported (golint)
- Line 40: warning: exported function LoadDigestDatabaseContextValue should have comment or be unexported (golint)
- Line 44: warning: exported function LoadDigestNetworkContextValue should have comment or be unexported (golint)
- Line 48: warning: exported function LoadDigesterContextValue should have comment or be unexported (golint)
- Line 52: warning: exported function LoadCurrencyPoolContextValue should have comment or be unexported (golint)
-
mitum-currency/currency/account_bson.go
- Line 11: warning: exported method Account.MarshalBSON should have comment or be unexported (golint)
- Line 22: warning: exported type AccountBSONUnpacker should have comment or be unexported (golint)
- Line 28: warning: exported method Account.UnpackBSON should have comment or be unexported (golint)
-
mitum-currency/currency/currency_design_encode.go
- Line 11: 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 17: 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 23: 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)
-
mitum-currency/cmds/send.go
- Line 19: warning: exported var SendVars should have comment or be unexported (golint)
- Line 23: warning: exported type SendCommand should have comment or be unexported (golint)
- Line 35: warning: exported function NewSendCommand should have comment or be unexported (golint)
- Line 41: warning: exported method SendCommand.Run should have comment or be unexported (golint)
- Line 53: 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 62: 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 117: 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)
-
mitum-currency/digest/handler_operation.go
- Line 33: 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 59: 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 113: 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 129: 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 201: 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 217: 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 233: 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 239: 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 245: 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 256: 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 262: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
- Line 302: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
- Line 338: 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 410: 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)
-
mitum-currency/currency/create_accounts_item_json.go
- Line 9: warning: exported type CreateAccountsItemJSONPacker should have comment or be unexported (golint)
- Line 15: warning: exported method BaseCreateAccountsItem.MarshalJSON should have comment or be unexported (golint)
- Line 23: warning: exported type CreateAccountsItemJSONUnpacker should have comment or be unexported (golint)
- Line 28: warning: exported method BaseCreateAccountsItem.UnpackJSON should have comment or be unexported (golint)
-
mitum-currency/currency/currency.go
- Line 10: warning: exported var MinLengthCurrencyID should have comment or be unexported (golint)
- Line 15: warning: exported type CurrencyID should have comment or be unexported (golint)
- Line 17: warning: exported method CurrencyID.Bytes should have comment or be unexported (golint)
- Line 25: warning: exported method CurrencyID.IsValid should have comment or be unexported (golint)
-
mitum-currency/currency/currency_policy_json.go
- Line 9: warning: exported type CurrencyPolicyJSONPacker should have comment or be unexported (golint)
- Line 15: warning: exported method CurrencyPolicy.MarshalJSON should have comment or be unexported (golint)
- Line 23: warning: exported type CurrencyPolicyJSONUnpacker should have comment or be unexported (golint)
- Line 28: warning: exported method CurrencyPolicy.UnpackJSON should have comment or be unexported (golint)
-
mitum-currency/digest/currency.go
- Line 21: warning: exported function LoadCurrenciesFromDatabase 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 (move short variable declaration to its own line if necessary) (golint)
-
mitum-currency/currency/genesis_currencies.go
- Line 16: warning: exported var GenesisCurrenciesFactType should have comment or be unexported (golint)
- Line 22: warning: exported type GenesisCurrenciesFact should have comment or be unexported (golint)
- Line 30: warning: exported function NewGenesisCurrenciesFact should have comment or be unexported (golint)
- Line 48: warning: exported method GenesisCurrenciesFact.Hint should have comment or be unexported (golint)
- Line 52: warning: exported method GenesisCurrenciesFact.Hash should have comment or be unexported (golint)
- Line 56: warning: exported method GenesisCurrenciesFact.Bytes should have comment or be unexported (golint)
- Line 69: warning: exported method GenesisCurrenciesFact.IsValid should have comment or be unexported (golint)
- Line 103: warning: exported method GenesisCurrenciesFact.GenerateHash should have comment or be unexported (golint)
- Line 107: warning: exported method GenesisCurrenciesFact.Token should have comment or be unexported (golint)
- Line 111: warning: exported method GenesisCurrenciesFact.GenesisNodeKey should have comment or be unexported (golint)
- Line 115: warning: exported method GenesisCurrenciesFact.Keys should have comment or be unexported (golint)
- Line 119: warning: exported method GenesisCurrenciesFact.Address should have comment or be unexported (golint)
- Line 123: warning: exported method GenesisCurrenciesFact.Currencies should have comment or be unexported (golint)
- Line 127: warning: exported type GenesisCurrencies should have comment or be unexported (golint)
- Line 131: warning: exported function NewGenesisCurrencies should have comment or be unexported (golint)
- Line 142: 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 148: 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 153: warning: exported method GenesisCurrencies.Hint should have comment or be unexported (golint)
- Line 157: warning: exported method GenesisCurrencies.IsValid should have comment or be unexported (golint)
-
mitum-currency/currency/memo.go
- Line 5: warning: exported var MaxMemoSize should have comment or be unexported (golint)
- Line 7: warning: exported function IsValidMemo should have comment or be unexported (golint)
- Line 15: warning: exported type MemoBSONUnpacker should have comment or be unexported (golint)
- Line 19: warning: exported type MemoJSONUnpacker should have comment or be unexported (golint)
-
mitum-currency/digest/handler_node_info.go
- Line 12: warning: exported method Handlers.SetNodeInfoHandler should have comment or be unexported (golint)
- Line 66: 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 72: 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)
-
mitum-currency/currency/create_accounts_single_amount.go
- Line 10: warning: exported var CreateAccountsItemSingleAmountType should have comment or be unexported (golint)
- Line 15: warning: exported type CreateAccountsItemSingleAmount should have comment or be unexported (golint)
- Line 19: warning: exported function NewCreateAccountsItemSingleAmount should have comment or be unexported (golint)
- Line 25: warning: exported method CreateAccountsItemSingleAmount.IsValid should have comment or be unexported (golint)
- Line 37: warning: exported method CreateAccountsItemSingleAmount.Rebuild should have comment or be unexported (golint)
-
mitum-currency/currency/transfers_json.go
- Line 12: warning: exported type TransferFactJSONPacker should have comment or be unexported (golint)
- Line 20: warning: exported method TransfersFact.MarshalJSON should have comment or be unexported (golint)
- Line 30: warning: exported method TransfersFact.UnpackJSON should have comment or be unexported (golint)
- Line 49: warning: exported method Transfers.MarshalJSON should have comment or be unexported (golint)
- Line 56: warning: exported method Transfers.UnpackJSON 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 (move short variable declaration to its own line if necessary) (golint)
-
mitum-currency/digest/account_value_encode.go
- Line 13: 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 22: 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)
-
mitum-currency/digest/handler_account.go
- Line 65: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
- Line 76: warning: 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 82: 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 91: 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 97: 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 104: 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 176: 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 190: 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 206: 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 221: 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)
-
mitum-currency/currency/big.go
- Line 10: warning: exported var NilBig should have comment or be unexported (golint)
- Line 15: warning: exported type Big should have comment or be unexported (golint)
- Line 19: warning: exported function NewBigFromBigInt should have comment or be unexported (golint)
- Line 23: warning: exported function NewBig should have comment or be unexported (golint)
- Line 27: warning: exported function NewBigFromString should have comment or be unexported (golint)
- Line 30: 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 35: warning: exported function MustBigFromString should have comment or be unexported (golint)
- Line 43: warning: exported function NewBigFromInterface should have comment or be unexported (golint)
- Line 64: 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 75: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
- Line 80: warning: exported method Big.IsZero should have comment or be unexported (golint)
- Line 88: warning: exported method Big.OverZero should have comment or be unexported (golint)
- Line 96: warning: exported method Big.OverNil should have comment or be unexported (golint)
- Line 104: warning: exported method Big.Equal should have comment or be unexported (golint)
- Line 112: warning: exported method Big.Compare should have comment or be unexported (golint)
- Line 120: warning: exported method Big.IsValid should have comment or be unexported (golint)
- Line 124: warning: exported method Big.Add should have comment or be unexported (golint)
- Line 128: warning: exported method Big.Sub should have comment or be unexported (golint)
- Line 132: warning: exported method Big.Mul should have comment or be unexported (golint)
- Line 136: warning: exported method Big.MulInt64 should have comment or be unexported (golint)
- Line 141: warning: exported method Big.MulFloat64 should have comment or be unexported (golint)
- Line 151: warning: exported method Big.Div should have comment or be unexported (golint)
- Line 155: warning: exported method Big.Neg should have comment or be unexported (golint)
-
mitum-currency/currency/currency_pool.go
- Line 9: warning: exported type CurrencyPool should have comment or be unexported (golint)
- Line 16: warning: exported function NewCurrencyPool should have comment or be unexported (golint)
- Line 23: warning: exported method CurrencyPool.Clear should have comment or be unexported (golint)
- Line 32: warning: exported method CurrencyPool.Set 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 (move short variable declaration to its own line if necessary) (golint)
- Line 50: warning: exported method CurrencyPool.CIDs should have comment or be unexported (golint)
- Line 57: warning: exported method CurrencyPool.Designs should have comment or be unexported (golint)
- Line 69: warning: exported method CurrencyPool.States should have comment or be unexported (golint)
- Line 81: warning: exported method CurrencyPool.Policy should have comment or be unexported (golint)
- Line 84: 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 89: warning: exported method CurrencyPool.Feeer should have comment or be unexported (golint)
- Line 92: 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 97: warning: exported method CurrencyPool.State should have comment or be unexported (golint)
- Line 100: 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 105: warning: exported method CurrencyPool.TraverseDesign should have comment or be unexported (golint)
- Line 116: warning: exported method CurrencyPool.TraverseState should have comment or be unexported (golint)
- Line 127: warning: exported method CurrencyPool.Exists should have comment or be unexported (golint)
- Line 136: warning: exported method CurrencyPool.Get should have comment or be unexported (golint)
- Line 142: 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)
-
mitum-currency/currency/fee.go
- Line 18: warning: exported var FeeOperationFactType should have comment or be unexported (golint)
- Line 24: warning: exported type FeeOperationFact should have comment or be unexported (golint)
- Line 30: warning: exported function NewFeeOperationFact should have comment or be unexported (golint)
- Line 48: warning: exported method FeeOperationFact.Hint should have comment or be unexported (golint)
- Line 52: warning: exported method FeeOperationFact.Hash should have comment or be unexported (golint)
- Line 56: warning: exported method FeeOperationFact.Bytes should have comment or be unexported (golint)
- Line 67: warning: exported method FeeOperationFact.IsValid should have comment or be unexported (golint)
- Line 85: warning: exported method FeeOperationFact.Token should have comment or be unexported (golint)
- Line 89: warning: exported method FeeOperationFact.Amounts should have comment or be unexported (golint)
- Line 93: warning: exported type FeeOperation should have comment or be unexported (golint)
- Line 98: warning: exported function NewFeeOperation should have comment or be unexported (golint)
- Line 105: warning: exported method FeeOperation.Hint should have comment or be unexported (golint)
- Line 109: warning: exported method FeeOperation.Fact should have comment or be unexported (golint)
- Line 113: warning: exported method FeeOperation.Hash should have comment or be unexported (golint)
- Line 117: warning: exported method FeeOperation.Signs should have comment or be unexported (golint)
- Line 121: warning: exported method FeeOperation.IsValid should have comment or be unexported (golint)
- Line 143: warning: exported method FeeOperation.GenerateHash should have comment or be unexported (golint)
- Line 147: warning: exported method FeeOperation.AddFactSigns should have comment or be unexported (golint)
- Line 151: warning: exported method FeeOperation.LastSignedAt should have comment or be unexported (golint)
- Line 155: warning: exported method FeeOperation.Process should have comment or be unexported (golint)
- Line 162: warning: exported type FeeOperationProcessor should have comment or be unexported (golint)
- Line 167: warning: exported function NewFeeOperationProcessor should have comment or be unexported (golint)
- Line 174: warning: exported method FeeOperationProcessor.Process should have comment or be unexported (golint)
- Line 186: 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)
-
mitum-currency/digest/hal.go
- Line 9: warning: exported type Hal should have comment or be unexported (golint)
- Line 22: warning: exported var BaseHalType should have comment or be unexported (golint)
- Line 26: warning: exported type BaseHal should have comment or be unexported (golint)
- Line 35: warning: exported function NewBaseHal should have comment or be unexported (golint)
- Line 45: warning: exported method BaseHal.Hint should have comment or be unexported (golint)
- Line 49: warning: exported method BaseHal.Interface should have comment or be unexported (golint)
- Line 53: warning: exported method BaseHal.RawInterface should have comment or be unexported (golint)
- Line 57: warning: exported method BaseHal.SetInterface should have comment or be unexported (golint)
- Line 63: warning: exported method BaseHal.Links should have comment or be unexported (golint)
- Line 71: warning: exported method BaseHal.Extras should have comment or be unexported (golint)
- Line 75: warning: exported method BaseHal.AddExtras should have comment or be unexported (golint)
- Line 85: warning: exported method BaseHal.Self should have comment or be unexported (golint)
- Line 89: warning: exported method BaseHal.SetSelf should have comment or be unexported (golint)
- Line 95: warning: exported method BaseHal.AddLink should have comment or be unexported (golint)
- Line 105: warning: exported type HalLink should have comment or be unexported (golint)
- Line 110: warning: exported function NewHalLink should have comment or be unexported (golint)
- Line 114: warning: exported method HalLink.Href should have comment or be unexported (golint)
- Line 118: warning: exported method HalLink.URL should have comment or be unexported (golint)
- Line 122: warning: exported method HalLink.Properties should have comment or be unexported (golint)
- Line 126: warning: exported method HalLink.SetTemplated should have comment or be unexported (golint)
- Line 136: warning: exported method HalLink.SetProperty should have comment or be unexported (golint)
-
mitum-currency/currency/amount_test.go
- Line 63: 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 72: 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)
-
mitum-currency/currency/currency_policy_bson.go
- Line 9: warning: exported method CurrencyPolicy.MarshalBSON should have comment or be unexported (golint)
- Line 19: warning: exported type CurrencyPolicyBSONUnpacker should have comment or be unexported (golint)
- Line 24: warning: exported method CurrencyPolicy.UnpackBSON should have comment or be unexported (golint)
-
mitum-currency/currency/decode.go
- Line 9: warning: exported function DecodeAmount should have comment or be unexported (golint)
- Line 21: warning: exported function DecodeCreateAccountsItem should have comment or be unexported (golint)
- Line 33: warning: exported function DecodeTransfersItem should have comment or be unexported (golint)
- Line 45: warning: exported function DecodeCurrencyPolicy should have comment or be unexported (golint)
- Line 57: warning: exported function DecodeFeeer should have comment or be unexported (golint)
- Line 69: warning: exported function DecodeCurrencyDesign should have comment or be unexported (golint)
- Line 81: warning: exported function DecodeAccount should have comment or be unexported (golint)
-
mitum-currency/digest/server.go
- Line 19: warning: exported type HTTP2Server should have comment or be unexported (golint)
- Line 32: warning: exported function NewHTTP2Server should have comment or be unexported (golint)
- Line 52: 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 80: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
- Line 85: warning: exported method HTTP2Server.Initialize should have comment or be unexported (golint)
- Line 102: warning: exported method HTTP2Server.SetLogger should have comment or be unexported (golint)
- Line 108: warning: exported method HTTP2Server.SetHandler should have comment or be unexported (golint)
- Line 115: 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 191: 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)
-
mitum-currency/currency/currency_design_bson.go
- Line 10: warning: exported method CurrencyDesign.MarshalBSON should have comment or be unexported (golint)
- Line 21: warning: exported type CurrencyDesignBSONUnpacker should have comment or be unexported (golint)
- Line 27: warning: exported method CurrencyDesign.UnpackBSON should have comment or be unexported (golint)
-
mitum-currency/currency/feeer_bson.go
- Line 10: warning: exported method NilFeeer.MarshalBSON should have comment or be unexported (golint)
- Line 14: warning: exported method NilFeeer.UnmarsahlBSON should have comment or be unexported (golint)
- Line 18: warning: exported method FixedFeeer.MarshalBSON should have comment or be unexported (golint)
- Line 28: warning: exported type FixedFeeerBSONUnpacker should have comment or be unexported (golint)
- Line 33: warning: exported method FixedFeeer.UnpackBSON should have comment or be unexported (golint)
- Line 42: warning: exported method RatioFeeer.MarshalBSON should have comment or be unexported (golint)
- Line 54: warning: exported type RatioFeeerBSONUnpacker should have comment or be unexported (golint)
- Line 61: warning: exported method RatioFeeer.UnpackBSON should have comment or be unexported (golint)
-
mitum-currency/currency/transfers_multi_amounts.go
- Line 10: warning: exported var TransfersItemMultiAmountsType should have comment or be unexported (golint)
- Line 17: warning: exported type TransfersItemMultiAmounts should have comment or be unexported (golint)
- Line 21: warning: exported function NewTransfersItemMultiAmounts should have comment or be unexported (golint)
- Line 27: warning: exported method TransfersItemMultiAmounts.IsValid should have comment or be unexported (golint)
- Line 39: warning: exported method TransfersItemMultiAmounts.Rebuild should have comment or be unexported (golint)
-
mitum-currency/currency/operation_processor.go
- Line 17: warning: exported type GetNewProcessor should have comment or be unexported (golint)
- Line 19: warning: exported type DuplicationType should have comment or be unexported (golint)
- Line 22: warning: exported const DuplicationTypeSender should have comment (or a comment on this block) or be unexported (golint)
- Line 26: warning: exported type OperationProcessor should have comment or be unexported (golint)
- Line 38: warning: exported function NewOperationProcessor should have comment or be unexported (golint)
- Line 48: warning: exported method OperationProcessor.New should have comment or be unexported (golint)
- Line 63: warning: exported method OperationProcessor.SetProcessor should have comment or be unexported (golint)
- Line 69: 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 94: warning: exported method OperationProcessor.PreProcess should have comment or be unexported (golint)
- Line 108: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
- Line 119: warning: exported method OperationProcessor.Process should have comment or be unexported (golint)
- Line 130: 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 171: 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 228: warning: exported method OperationProcessor.Close should have comment or be unexported (golint)
- Line 238: 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 246: warning: exported method OperationProcessor.Cancel should have comment or be unexported (golint)
-
mitum-currency/cmds/key.go
- Line 11: warning: exported type KeyCommand should have comment or be unexported (golint)
- Line 18: warning: exported function NewKeyCommand should have comment or be unexported (golint)
- Line 27: warning: exported function IsValidKeyType should have comment or be unexported (golint)
- Line 36: warning: exported function GenerateKey should have comment or be unexported (golint)
-
mitum-currency/cmds/transfer.go
- Line 16: warning: exported type TransferCommand should have comment or be unexported (golint)
- Line 28: warning: exported function NewTransferCommand should have comment or be unexported (golint)
- Line 34: warning: exported method TransferCommand.Run should have comment or be unexported (golint)
- Line 46: 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 57: 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 85: 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 101: 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 110: 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 116: 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)
-
mitum-currency/digest/hal_json.go
- Line 11: warning: exported var HALJSONConfigDefault should have comment or be unexported (golint)
- Line 15: warning: exported type BaseHalJSONPacker should have comment or be unexported (golint)
- Line 23: warning: exported method BaseHal.MarshalJSON should have comment or be unexported (golint)
- Line 44: warning: exported type BaseHalJSONUnpacker should have comment or be unexported (golint)
- Line 50: warning: exported method BaseHal.UnmarshalJSON should have comment or be unexported (golint)
- Line 63: warning: exported method HalLink.MarshalJSON should have comment or be unexported (golint)
- Line 75: warning: exported type HalLinkJSONUnpacker should have comment or be unexported (golint)
- Line 80: warning: exported method HalLink.UnmarshalJSON should have comment or be unexported (golint)
-
mitum-currency/digest/node_info_json.go
- Line 8: warning: exported type NodeInfoPackerJSON should have comment or be unexported (golint)
- Line 13: warning: exported method NodeInfo.MarshalJSON should have comment or be unexported (golint)
- Line 22: warning: exported method NodeInfo.UnpackJSON should have comment or be unexported (golint)
-
mitum-currency/currency/create_accounts_json.go
- Line 12: warning: exported type CreateAccountsFactJSONPacker should have comment or be unexported (golint)
- Line 20: warning: exported method CreateAccountsFact.MarshalJSON should have comment or be unexported (golint)
- Line 30: warning: exported type CreateAccountsFactJSONUnpacker should have comment or be unexported (golint)
- Line 37: warning: exported method CreateAccountsFact.UnpackJSON should have comment or be unexported (golint)
- Line 51: warning: exported method CreateAccounts.MarshalJSON should have comment or be unexported (golint)
- Line 58: warning: exported method CreateAccounts.UnpackJSON should have comment or be unexported (golint)
- Line 69: 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)
-
mitum-currency/currency/keyupdater_json.go
- Line 12: warning: exported type KeyUpdaterFactJSONPacker should have comment or be unexported (golint)
- Line 21: warning: exported method KeyUpdaterFact.MarshalJSON should have comment or be unexported (golint)
- Line 32: warning: exported type KeyUpdaterFactJSONUnpacker should have comment or be unexported (golint)
- Line 40: warning: exported method KeyUpdaterFact.UnpackJSON should have comment or be unexported (golint)
- Line 49: warning: exported method KeyUpdater.MarshalJSON should have comment or be unexported (golint)
- Line 56: warning: exported method KeyUpdater.UnpackJSON 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 (move short variable declaration to its own line if necessary) (golint)
-
mitum-currency/main.go
- Line 14: warning: exported var Version should have comment or be unexported (golint)
- Line 71: warning: exported type VersionCommand should have comment or be unexported (golint)
- Line 73: warning: exported method VersionCommand.Run should have comment or be unexported (golint)
-
mitum-currency/cmds/base.go
- Line 34: warning: exported var BaseNodeCommandHooks should have comment or be unexported (golint)
- Line 53: warning: exported type BaseNodeCommand should have comment or be unexported (golint)
- Line 57: warning: exported function NewBaseNodeCommand should have comment or be unexported (golint)
- Line 61: warning: exported method BaseNodeCommand.BaseProcesses should have comment or be unexported (golint)
- Line 72: warning: exported function HookLoadCurrencies should have comment or be unexported (golint)
- Line 90: 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 102: warning: exported function HookInitializeProposalProcessor 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 (move short variable declaration to its own line if necessary) (golint)
- Line 141: warning: exported function AttachProposalProcessor should have comment or be unexported (golint)
- Line 159: 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 168: 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 188: warning: exported function InitializeProposalProcessor should have comment or be unexported (golint)
- Line 284: 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 325: 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 374: warning: exported type BaseCommand should have comment or be unexported (golint)
- Line 379: warning: exported function NewBaseCommand should have comment or be unexported (golint)
- Line 434: warning: exported type OperationFlags should have comment or be unexported (golint)
- Line 442: warning: exported method OperationFlags.IsValid should have comment or be unexported (golint)
-
mitum-currency/cmds/key_updater.go
- Line 13: warning: exported type KeyUpdaterCommand should have comment or be unexported (golint)
- Line 24: warning: exported function NewKeyUpdaterCommand should have comment or be unexported (golint)
- Line 30: warning: exported method KeyUpdaterCommand.Run should have comment or be unexported (golint)
- Line 42: 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 52: 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 70: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
- Line 103: 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 109: 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)
-
mitum-currency/digest/block_session.go
- Line 25: warning: exported type BlockSession should have comment or be unexported (golint)
- Line 36: warning: exported function NewBlockSession 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 (move short variable declaration to its own line if necessary) (golint)
- Line 55: warning: exported method BlockSession.Prepare should have comment or be unexported (golint)
- Line 74: warning: exported method BlockSession.Commit should have comment or be unexported (golint)
- Line 104: warning: exported method BlockSession.Close should have comment or be unexported (golint)
- Line 151: 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 166: 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 187: 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 193: 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 220: 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)
-
mitum-currency/currency/amount_state.go
- Line 14: warning: exported var AmountStateType should have comment or be unexported (golint)
- Line 18: warning: exported type AmountState should have comment or be unexported (golint)
- Line 25: warning: exported function NewAmountState should have comment or be unexported (golint)
- Line 38: warning: exported method AmountState.Hint should have comment or be unexported (golint)
- Line 42: warning: exported method AmountState.IsValid should have comment or be unexported (golint)
- Line 54: warning: exported method AmountState.Bytes should have comment or be unexported (golint)
- Line 61: warning: exported method AmountState.GenerateHash should have comment or be unexported (golint)
- Line 65: warning: exported method AmountState.Merge should have comment or be unexported (golint)
- Line 83: warning: exported method AmountState.Currency should have comment or be unexported (golint)
- Line 87: warning: exported method AmountState.Fee should have comment or be unexported (golint)
- Line 91: warning: exported method AmountState.AddFee should have comment or be unexported (golint)
- Line 97: warning: exported method AmountState.Add should have comment or be unexported (golint)
- Line 103: warning: exported method AmountState.Sub should have comment or be unexported (golint)
- Line 109: warning: exported method AmountState.SetValue should have comment or be unexported (golint)
- Line 112: 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 119: warning: exported method AmountState.SetHash should have comment or be unexported (golint)
- Line 122: 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 129: warning: exported method AmountState.SetHeight should have comment or be unexported (golint)
- Line 135: warning: exported method AmountState.SetPreviousHeight should have comment or be unexported (golint)
- Line 138: 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 145: warning: exported method AmountState.SetOperation should have comment or be unexported (golint)
- Line 151: warning: exported method AmountState.Clear should have comment or be unexported (golint)
-
mitum-currency/digest/decode.go
- Line 19: 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)
-
mitum-currency/currency/create_accounts_process.go
- Line 11: warning: exported method CreateAccounts.Process should have comment or be unexported (golint)
- Line 18: warning: exported type CreateAccountsItemProcessor should have comment or be unexported (golint)
- Line 26: warning: exported method CreateAccountsItemProcessor.PreProcess should have comment or be unexported (golint)
- Line 37: 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 50: 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 56: 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 65: 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 75: warning: exported method CreateAccountsItemProcessor.Process should have comment or be unexported (golint)
- Line 82: 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 89: 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 101: warning: exported type CreateAccountsProcessor should have comment or be unexported (golint)
- Line 109: warning: exported function NewCreateAccountsProcessor should have comment or be unexported (golint)
- Line 113: 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 122: warning: exported method CreateAccountsProcessor.PreProcess should have comment or be unexported (golint)
- Line 160: warning: exported method CreateAccountsProcessor.Process should have comment or be unexported (golint)
- Line 170: 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 194: warning: exported function CalculateItemsFee should have comment or be unexported (golint)
- Line 216: 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 232: warning: exported function CheckEnoughBalance should have comment or be unexported (golint)
- Line 245: 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 252: 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 259: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
-
mitum-currency/currency/currency_policy_updater.go
- Line 14: warning: exported var CurrencyPolicyUpdaterFactType should have comment or be unexported (golint)
- Line 20: warning: exported type CurrencyPolicyUpdaterFact should have comment or be unexported (golint)
- Line 27: warning: exported function NewCurrencyPolicyUpdaterFact should have comment or be unexported (golint)
- Line 39: warning: exported method CurrencyPolicyUpdaterFact.Hint should have comment or be unexported (golint)
- Line 43: warning: exported method CurrencyPolicyUpdaterFact.Hash should have comment or be unexported (golint)
- Line 47: warning: exported method CurrencyPolicyUpdaterFact.Bytes should have comment or be unexported (golint)
- Line 55: warning: exported method CurrencyPolicyUpdaterFact.IsValid should have comment or be unexported (golint)
- Line 75: warning: exported method CurrencyPolicyUpdaterFact.GenerateHash should have comment or be unexported (golint)
- Line 79: warning: exported method CurrencyPolicyUpdaterFact.Token should have comment or be unexported (golint)
- Line 83: warning: exported method CurrencyPolicyUpdaterFact.Currency should have comment or be unexported (golint)
- Line 87: warning: exported method CurrencyPolicyUpdaterFact.Policy should have comment or be unexported (golint)
- Line 91: warning: exported type CurrencyPolicyUpdater should have comment or be unexported (golint)
- Line 96: warning: exported function NewCurrencyPolicyUpdater should have comment or be unexported (golint)
- Line 103: 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 112: warning: exported method CurrencyPolicyUpdater.Hint should have comment or be unexported (golint)
- Line 116: warning: exported method CurrencyPolicyUpdater.IsValid should have comment or be unexported (golint)
-
mitum-currency/cmds/key_sign.go
- Line 14: warning: exported type SignKeyCommand should have comment or be unexported (golint)
- Line 21: warning: exported function NewSignKeyCommand should have comment or be unexported (golint)
- Line 27: warning: exported method SignKeyCommand.Run should have comment or be unexported (golint)
- Line 58: 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)
-
mitum-currency/currency/create_accounts_item.go
- Line 11: warning: exported type BaseCreateAccountsItem should have comment or be unexported (golint)
- Line 17: warning: exported function NewBaseCreateAccountsItem should have comment or be unexported (golint)
- Line 25: warning: exported method BaseCreateAccountsItem.Hint should have comment or be unexported (golint)
- Line 29: warning: exported method BaseCreateAccountsItem.Bytes should have comment or be unexported (golint)
- Line 40: warning: exported method BaseCreateAccountsItem.IsValid should have comment or be unexported (golint)
- Line 54: 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 68: warning: exported method BaseCreateAccountsItem.Keys should have comment or be unexported (golint)
- Line 72: warning: exported method BaseCreateAccountsItem.Address should have comment or be unexported (golint)
- Line 76: warning: exported method BaseCreateAccountsItem.Amounts should have comment or be unexported (golint)
- Line 80: warning: exported method BaseCreateAccountsItem.Rebuild should have comment or be unexported (golint)
-
mitum-currency/currency/genesis_currencies_json.go
- Line 13: warning: exported type GenesisCurrenciesFactJSONPacker should have comment or be unexported (golint)
- Line 22: warning: exported method GenesisCurrenciesFact.MarshalJSON should have comment or be unexported (golint)
- Line 33: warning: exported type GenesisCurrenciesFactJSONUnpacker should have comment or be unexported (golint)
- Line 41: warning: exported method GenesisCurrenciesFact.UnpackJSON should have comment or be unexported (golint)
- Line 55: warning: exported method GenesisCurrencies.MarshalJSON should have comment or be unexported (golint)
- Line 59: warning: exported method GenesisCurrencies.UnpackJSON should have comment or be unexported (golint)
-
mitum-currency/currency/keys_bson.go
- Line 11: warning: exported method Key.MarshalBSON should have comment or be unexported (golint)
- Line 21: warning: exported type KeyBSONUnpacker should have comment or be unexported (golint)
- Line 26: warning: exported method Key.UnpackBSON should have comment or be unexported (golint)
- Line 35: warning: exported method Keys.MarshalBSON should have comment or be unexported (golint)
- Line 46: warning: exported type KeysBSONUnpacker should have comment or be unexported (golint)
- Line 52: warning: exported method Keys.UnpackBSON should have comment or be unexported (golint)
-
mitum-currency/cmds/storage.go
- Line 7: warning: exported type StorageCommand should have comment or be unexported (golint)
- Line 15: warning: exported function NewStorageCommand should have comment or be unexported (golint)
-
mitum-currency/digest/handler_currency.go
- Line 52: 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 74: 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 113: 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 123: 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 131: 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 138: 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)
-
mitum-currency/currency/account.go
- Line 11: warning: exported var AccountType should have comment or be unexported (golint)
- Line 15: warning: exported type Account should have comment or be unexported (golint)
- Line 21: warning: exported function NewAccount should have comment or be unexported (golint)
- Line 35: warning: exported function NewAccountFromKeys should have comment or be unexported (golint)
- Line 45: warning: exported method Account.Hint should have comment or be unexported (golint)
- Line 49: warning: exported method Account.Bytes should have comment or be unexported (golint)
- Line 56: warning: exported method Account.Hash should have comment or be unexported (golint)
- Line 60: warning: exported method Account.GenerateHash should have comment or be unexported (golint)
- Line 64: warning: exported method Account.Address should have comment or be unexported (golint)
- Line 68: warning: exported method Account.Keys should have comment or be unexported (golint)
- Line 72: warning: exported method Account.SetKeys should have comment or be unexported (golint)
- Line 82: warning: exported method Account.IsEmpty should have comment or be unexported (golint)
-
mitum-currency/currency/currency_register_process.go
- Line 12: warning: exported method CurrencyRegister.Process should have comment or be unexported (golint)
- Line 20: warning: exported type CurrencyRegisterProcessor should have comment or be unexported (golint)
- Line 29: warning: exported function NewCurrencyRegisterProcessor should have comment or be unexported (golint)
- Line 33: 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 44: warning: exported method CurrencyRegisterProcessor.PreProcess should have comment or be unexported (golint)
- Line 93: warning: exported method CurrencyRegisterProcessor.Process should have comment or be unexported (golint)
- Line 104: 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)
-
mitum-currency/currency/fee_json.go
- Line 10: warning: exported type FeeOperationFactJSONPacker should have comment or be unexported (golint)
- Line 17: warning: exported method FeeOperationFact.MarshalJSON should have comment or be unexported (golint)
- Line 26: warning: exported type FeeOperationFactJSONUnpacker should have comment or be unexported (golint)
- Line 32: warning: exported method FeeOperationFact.UnpackJSON should have comment or be unexported (golint)
- Line 46: warning: exported type FeeOperationJSONPacker should have comment or be unexported (golint)
- Line 52: warning: exported method FeeOperation.MarshalJSON should have comment or be unexported (golint)
- Line 60: warning: exported type FeeOperationJSONUnpacker should have comment or be unexported (golint)
- Line 65: warning: exported method FeeOperation.UnpackJSON should have comment or be unexported (golint)
-
mitum-currency/currency/feeer_json.go
- Line 8: warning: exported method NilFeeer.MarshalJSON should have comment or be unexported (golint)
- Line 18: warning: exported method NilFeeer.UnmarsahlJSON should have comment or be unexported (golint)
- Line 22: warning: exported type FixedFeeerJSONPacker should have comment or be unexported (golint)
- Line 29: warning: exported method FixedFeeer.MarshalJSON should have comment or be unexported (golint)
- Line 38: warning: exported type FixedFeeerJSONUnpacker should have comment or be unexported (golint)
- Line 43: warning: exported method FixedFeeer.UnpackJSON should have comment or be unexported (golint)
- Line 52: warning: exported type RatioFeeerJSONPacker should have comment or be unexported (golint)
- Line 61: warning: exported method RatioFeeer.MarshalJSON should have comment or be unexported (golint)
- Line 72: warning: exported type RatioFeeerJSONUnpacker should have comment or be unexported (golint)
- Line 79: warning: exported method RatioFeeer.UnpackJSON should have comment or be unexported (golint)
-
mitum-currency/digest/database.go
- Line 34: warning: exported var DigestStorageLastBlockKey should have comment or be unexported (golint)
- Line 36: warning: exported type Database should have comment or be unexported (golint)
- Line 45: warning: exported function NewDatabase should have comment or be unexported (golint)
- Line 59: warning: exported function NewReadonlyDatabase should have comment or be unexported (golint)
- Line 62: 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 69: warning: exported method Database.New should have comment or be unexported (golint)
- Line 76: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
- Line 81: warning: exported method Database.Readonly should have comment or be unexported (golint)
- Line 85: warning: exported method Database.Close should have comment or be unexported (golint)
- Line 89: warning: exported method Database.Initialize should have comment or be unexported (golint)
- Line 130: warning: exported method Database.LastBlock should have comment or be unexported (golint)
- Line 137: warning: exported method Database.SetLastBlock should have comment or be unexported (golint)
- Line 157: 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 165: warning: exported method Database.Clean should have comment or be unexported (golint)
- Line 198: warning: exported method Database.CleanByHeight should have comment or be unexported (golint)
- Line 237: warning: exported method Database.ManifestByHeight should have comment or be unexported (golint)
- Line 241: warning: exported method Database.Manifest should have comment or be unexported (golint)
- Line 289: 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 322: 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 329: 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 359: 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 371: 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 413: 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 420: 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 437: 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 487: 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 504: 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 535: 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 566: 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)
-
mitum-currency/currency/amount.go
- Line 15: warning: exported var AmountType should have comment or be unexported (golint)
- Line 19: warning: exported type Amount should have comment or be unexported (golint)
- Line 24: warning: exported function NewAmount should have comment or be unexported (golint)
- Line 30: warning: exported function NewZeroAmount should have comment or be unexported (golint)
- Line 34: warning: exported function MustNewAmount should have comment or be unexported (golint)
- Line 43: warning: exported method Amount.Hint should have comment or be unexported (golint)
- Line 47: warning: exported method Amount.Bytes should have comment or be unexported (golint)
- Line 54: warning: exported method Amount.Hash should have comment or be unexported (golint)
- Line 58: warning: exported method Amount.GenerateHash should have comment or be unexported (golint)
- Line 62: warning: exported method Amount.IsEmpty should have comment or be unexported (golint)
- Line 66: warning: exported method Amount.IsValid should have comment or be unexported (golint)
- Line 77: warning: exported method Amount.Big should have comment or be unexported (golint)
- Line 81: warning: exported method Amount.Currency should have comment or be unexported (golint)
- Line 89: warning: exported method Amount.Equal should have comment or be unexported (golint)
- Line 100: warning: exported method Amount.WithBig should have comment or be unexported (golint)
-
mitum-currency/currency/create_accounts_encode.go
- Line 19: 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 27: 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)
-
mitum-currency/currency/create_accounts_item_bson.go
- Line 8: warning: exported method BaseCreateAccountsItem.MarshalBSON should have comment or be unexported (golint)
- Line 18: warning: exported type CreateAccountsItemBSONUnpacker should have comment or be unexported (golint)
- Line 23: warning: exported method BaseCreateAccountsItem.UnpackBSON should have comment or be unexported (golint)
-
mitum-currency/cmds/node_info.go
- Line 13: warning: exported type NodeInfoCommand should have comment or be unexported (golint)
- Line 17: warning: exported function NewNodeInfoCommand should have comment or be unexported (golint)
- Line 30: warning: exported method NodeInfoCommand.Run should have comment or be unexported (golint)
- Line 40: warning: exported function NodeInfoHandler should have comment or be unexported (golint)
-
mitum-currency/currency/create_accounts_multi_amounts.go
- Line 12: warning: exported var CreateAccountsItemMultiAmountsType should have comment or be unexported (golint)
- Line 17: warning: exported type CreateAccountsItemMultiAmounts should have comment or be unexported (golint)
- Line 21: warning: exported function NewCreateAccountsItemMultiAmounts should have comment or be unexported (golint)
- Line 27: warning: exported method CreateAccountsItemMultiAmounts.IsValid should have comment or be unexported (golint)
- Line 39: warning: exported method CreateAccountsItemMultiAmounts.Rebuild should have comment or be unexported (golint)
-
mitum-currency/currency/keyupdater_bson.go
- Line 12: warning: exported method KeyUpdaterFact.MarshalBSON should have comment or be unexported (golint)
- Line 24: warning: exported type KeyUpdaterFactBSONUnpacker should have comment or be unexported (golint)
- Line 32: warning: exported method KeyUpdaterFact.UnpackBSON should have comment or be unexported (golint)
- Line 41: warning: exported method KeyUpdater.MarshalBSON should have comment or be unexported (golint)
- Line 49: warning: exported method KeyUpdater.UnpackBSON should have comment or be unexported (golint)
- Line 60: 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)
-
mitum-currency/currency/currency_design.go
- Line 10: warning: exported var CurrencyDesignType should have comment or be unexported (golint)
- Line 14: warning: exported type CurrencyDesign should have comment or be unexported (golint)
- Line 20: warning: exported function NewCurrencyDesign should have comment or be unexported (golint)
- Line 24: warning: exported method CurrencyDesign.IsValid should have comment or be unexported (golint)
- Line 44: warning: exported method CurrencyDesign.Hint should have comment or be unexported (golint)
- Line 48: warning: exported method CurrencyDesign.GenesisAccount should have comment or be unexported (golint)
- Line 52: warning: exported method CurrencyDesign.Policy should have comment or be unexported (golint)
- Line 56: warning: exported method CurrencyDesign.SetPolicy should have comment or be unexported (golint)
-
mitum-currency/currency/keyupdater.go
- Line 15: warning: exported var KeyUpdaterFactType should have comment or be unexported (golint)
- Line 21: warning: exported type KeyUpdaterFact should have comment or be unexported (golint)
- Line 29: warning: exported function NewKeyUpdaterFact should have comment or be unexported (golint)
- Line 41: warning: exported method KeyUpdaterFact.Hint should have comment or be unexported (golint)
- Line 45: warning: exported method KeyUpdaterFact.Hash should have comment or be unexported (golint)
- Line 49: warning: exported method KeyUpdaterFact.GenerateHash should have comment or be unexported (golint)
- Line 53: warning: exported method KeyUpdaterFact.Bytes should have comment or be unexported (golint)
- Line 62: warning: exported method KeyUpdaterFact.IsValid should have comment or be unexported (golint)
- Line 83: warning: exported method KeyUpdaterFact.Token should have comment or be unexported (golint)
- Line 87: warning: exported method KeyUpdaterFact.Target should have comment or be unexported (golint)
- Line 91: warning: exported method KeyUpdaterFact.Keys should have comment or be unexported (golint)
- Line 95: warning: exported method KeyUpdaterFact.Currency should have comment or be unexported (golint)
- Line 99: warning: exported method KeyUpdaterFact.Addresses should have comment or be unexported (golint)
- Line 103: warning: exported type KeyUpdater should have comment or be unexported (golint)
- Line 108: warning: exported function NewKeyUpdater should have comment or be unexported (golint)
- Line 111: 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 120: warning: exported method KeyUpdater.Hint should have comment or be unexported (golint)
- Line 124: warning: exported method KeyUpdater.IsValid should have comment or be unexported (golint)
- Line 132: warning: exported method KeyUpdater.GenerateHash should have comment or be unexported (golint)
- Line 145: warning: exported method KeyUpdater.AddFactSigns should have comment or be unexported (golint)
- Line 148: 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)
-
mitum-currency/cmds/init_node.go
- Line 20: warning: exported var GenesisAccountKey should have comment or be unexported (golint)
- Line 24: warning: exported var InitCommandHooks should have comment or be unexported (golint)
- Line 42: warning: exported type InitCommand should have comment or be unexported (golint)
- Line 47: warning: exported function NewInitCommand should have comment or be unexported (golint)
- Line 57: 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 90: warning: exported function GenesisOperationsHandlerGenesisCurrencies should have comment or be unexported (golint)
- Line 116: 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 139: 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)
-
mitum-currency/digest/handler_send.go
- Line 17: warning: exported method Handlers.SetSend should have comment or be unexported (golint)
- Line 111: 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 123: 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)
-
mitum-currency/digest/operation_value_json.go
- Line 13: warning: exported type OperationValueJSONPacker should have comment or be unexported (golint)
- Line 24: warning: exported method OperationValue.MarshalJSON should have comment or be unexported (golint)
- Line 37: warning: exported type OperationValueJSONUnpacker should have comment or be unexported (golint)
- Line 46: warning: exported method OperationValue.UnpackJSON should have comment or be unexported (golint)
- Line 54: 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 60: 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)
-
mitum-currency/currency/genesis_currencies_process.go
- Line 10: warning: exported method GenesisCurrencies.Process should have comment or be unexported (golint)
- Line 19: 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 26: 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 37: 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 43: 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)
-
mitum-currency/currency/transfers_item_json.go
- Line 10: warning: exported type TransfersItemJSONPacker should have comment or be unexported (golint)
- Line 16: warning: exported method BaseTransfersItem.MarshalJSON should have comment or be unexported (golint)
- Line 24: warning: exported type BaseTransfersItemJSONUnpacker should have comment or be unexported (golint)
- Line 29: warning: exported method BaseTransfersItem.UnpackJSON should have comment or be unexported (golint)
-
mitum-currency/digest/account_value.go
- Line 13: warning: exported var AccountValueType should have comment or be unexported (golint)
- Line 17: warning: exported type AccountValue should have comment or be unexported (golint)
- Line 24: warning: exported function NewAccountValue should have comment or be unexported (golint)
- Line 42: warning: exported method AccountValue.Hint should have comment or be unexported (golint)
- Line 46: warning: exported method AccountValue.Account should have comment or be unexported (golint)
- Line 50: warning: exported method AccountValue.Balance should have comment or be unexported (golint)
- Line 54: warning: exported method AccountValue.Height should have comment or be unexported (golint)
- Line 58: warning: exported method AccountValue.SetHeight should have comment or be unexported (golint)
- Line 64: warning: exported method AccountValue.PreviousHeight should have comment or be unexported (golint)
- Line 68: warning: exported method AccountValue.SetPreviousHeight should have comment or be unexported (golint)
- Line 74: warning: exported method AccountValue.SetBalance should have comment or be unexported (golint)
-
mitum-currency/digest/doc_account.go
- Line 13: warning: exported type AccountDoc should have comment or be unexported (golint)
- Line 19: warning: exported function NewAccountDoc should have comment or be unexported (golint)
- Line 32: warning: exported method AccountDoc.MarshalBSON should have comment or be unexported (golint)
- Line 44: warning: exported type BalanceDoc should have comment or be unexported (golint)
- Line 55: 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 71: warning: exported method BalanceDoc.MarshalBSON should have comment or be unexported (golint)
-
mitum-currency/digest/operation_value_bson.go
- Line 13: warning: exported method OperationValue.MarshalBSON should have comment or be unexported (golint)
- Line 27: warning: exported type OperationValueBSONUnpacker should have comment or be unexported (golint)
- Line 36: warning: exported method OperationValue.UnpackBSON should have comment or be unexported (golint)
- Line 52: 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)
-
mitum-currency/currency/currency_register.go
- Line 14: warning: exported var CurrencyRegisterFactType should have comment or be unexported (golint)
- Line 20: warning: exported type CurrencyRegisterFact should have comment or be unexported (golint)
- Line 26: warning: exported function NewCurrencyRegisterFact should have comment or be unexported (golint)
- Line 37: warning: exported method CurrencyRegisterFact.Hint should have comment or be unexported (golint)
- Line 41: warning: exported method CurrencyRegisterFact.Hash should have comment or be unexported (golint)
- Line 45: warning: exported method CurrencyRegisterFact.Bytes should have comment or be unexported (golint)
- Line 49: warning: exported method CurrencyRegisterFact.IsValid should have comment or be unexported (golint)
- Line 72: warning: exported method CurrencyRegisterFact.GenerateHash should have comment or be unexported (golint)
- Line 76: warning: exported method CurrencyRegisterFact.Token should have comment or be unexported (golint)
- Line 80: warning: exported method CurrencyRegisterFact.Currency should have comment or be unexported (golint)
- Line 84: warning: exported type CurrencyRegister should have comment or be unexported (golint)
- Line 89: warning: exported function NewCurrencyRegister should have comment or be unexported (golint)
- Line 92: 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 101: warning: exported method CurrencyRegister.Hint should have comment or be unexported (golint)
- Line 105: warning: exported method CurrencyRegister.IsValid should have comment or be unexported (golint)
-
mitum-currency/currency/fee_bson.go
- Line 10: warning: exported method FeeOperationFact.MarshalBSON should have comment or be unexported (golint)
- Line 20: warning: exported type FeeOperationFactBSONUnpacker should have comment or be unexported (golint)
- Line 26: warning: exported method FeeOperationFact.UnpackBSON should have comment or be unexported (golint)
- Line 40: warning: exported method FeeOperation.MarshalBSON should have comment or be unexported (golint)
- Line 50: warning: exported type FeeOperationBSONUnpacker should have comment or be unexported (golint)
- Line 55: warning: exported method FeeOperation.UnpackBSON should have comment or be unexported (golint)
-
mitum-currency/digest/handler_operation_build.go
- Line 37: 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 71: 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 82: 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 90: 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 112: 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 120: 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 141: 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 150: 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 159: 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)
-
mitum-currency/currency/amount_json.go
- Line 7: warning: exported type AmountJSONPacker should have comment or be unexported (golint)
- Line 13: warning: exported method Amount.MarshalJSON should have comment or be unexported (golint)
- Line 21: warning: exported type AmountJSONUnpacker should have comment or be unexported (golint)
- Line 26: warning: exported method Amount.UnpackJSON should have comment or be unexported (golint)
-
mitum-currency/currency/transfers_item_bson.go
- Line 10: warning: exported method BaseTransfersItem.MarshalBSON should have comment or be unexported (golint)
- Line 20: warning: exported type BaseTransfersItemBSONUnpacker should have comment or be unexported (golint)
- Line 25: warning: exported method BaseTransfersItem.UnpackBSON should have comment or be unexported (golint)
-
mitum-currency/cmds/currency_policy_updater.go
- Line 11: warning: exported type CurrencyPolicyUpdaterCommand should have comment or be unexported (golint)
- Line 22: warning: exported function NewCurrencyPolicyUpdaterCommand should have comment or be unexported (golint)
- Line 28: warning: exported method CurrencyPolicyUpdaterCommand.Run should have comment or be unexported (golint)
- Line 54: 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 97: 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 116: 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)
-
mitum-currency/cmds/design.go
- Line 19: warning: exported var DefaultDigestAPICache should have comment or be unexported (golint)
- Line 30: warning: exported type KeyDesign should have comment or be unexported (golint)
- Line 36: warning: exported method KeyDesign.IsValid should have comment or be unexported (golint)
- Line 40: 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 55: warning: exported type AccountKeysDesign should have comment or be unexported (golint)
- Line 62: warning: exported method AccountKeysDesign.IsValid should have comment or be unexported (golint)
- Line 76: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
- Line 82: 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 89: warning: exported type GenesisCurrenciesDesign should have comment or be unexported (golint)
- Line 94: warning: exported method GenesisCurrenciesDesign.IsValid should have comment or be unexported (golint)
- Line 112: warning: exported type CurrencyDesign should have comment or be unexported (golint)
- Line 121: warning: exported method CurrencyDesign.IsValid should have comment or be unexported (golint)
- Line 125: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
- Line 135: 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 148: 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 168: warning: exported method FeeerDesign.IsValid should have comment or be unexported (golint)
- Line 189: 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 192: 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 220: 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 228: warning: exported type DigestDesign should have comment or be unexported (golint)
- Line 235: warning: exported method DigestDesign.Set should have comment or be unexported (golint)
- Line 263: 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 271: warning: exported method DigestDesign.Network should have comment or be unexported (golint)
- Line 275: warning: exported method DigestDesign.Cache should have comment or be unexported (golint)
-
mitum-currency/cmds/process_digest_api.go
- Line 28: warning: exported const ProcessNameDigestAPI should have comment (or a comment on this block) or be unexported (golint)
- Line 34: warning: exported var ProcessorDigestAPI should have comment or be unexported (golint)
- Line 56: warning: exported function ProcessStartDigestAPI should have comment or be unexported (golint)
- Line 69: warning: exported function ProcessDigestAPI should have comment or be unexported (golint)
- Line 205: warning: exported function HookSetLocalChannel should have comment or be unexported (golint)
- Line 214: 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 224: 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)
-
mitum-currency/cmds/sign_seal.go
- Line 11: warning: exported type SignSealCommand should have comment or be unexported (golint)
- Line 19: warning: exported function NewSignSealCommand should have comment or be unexported (golint)
- Line 25: warning: exported method SignSealCommand.Run should have comment or be unexported (golint)
- Line 33: 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 44: 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)
-
mitum-currency/digest/digest.go
- Line 15: warning: exported type DigestError should have comment or be unexported (golint)
- Line 20: warning: exported function NewDigestError should have comment or be unexported (golint)
- Line 36: warning: exported method DigestError.Height should have comment or be unexported (golint)
- Line 40: warning: exported method DigestError.IsError should have comment or be unexported (golint)
- Line 44: warning: exported type Digester should have comment or be unexported (golint)
- Line 53: warning: exported function NewDigester should have comment or be unexported (golint)
- Line 107: warning: exported method Digester.Digest should have comment or be unexported (golint)
- Line 127: warning: exported function DigestBlock should have comment or be unexported (golint)
- Line 131: 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)
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.
IneffAssign detects ineffectual assignments in Go code.
No problems detected. Good job!
Checks whether your project has a LICENSE file.
No problems detected. Good job!
Misspell Finds commonly misspelled English words
No problems detected. Good job!