Preparing report...

Report for github.com/brharrelldev/cryptoTrader

A    Great!    Found 13 issues across 18 files

Tweet

gofmt88%

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


go_vet100%

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

No problems detected. Good job!


gocyclo100%

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

No problems detected. Good job!


golint44%

Golint is a linter for Go source code.

    • cryptoTrader/service/binance_market.go
    • Line 11: warning: comment on exported method Server.GetBinanceMarketDepth should be of the form "GetBinanceMarketDepth ..." (golint)
    • Line 55: warning: comment on exported method Server.GetBinanceMarketTradesRecent should be of the form "GetBinanceMarketTradesRecent ..." (golint)
    • Line 94: warning: comment on exported method Server.GetBinanceMarketTradesHistorical should be of the form "GetBinanceMarketTradesHistorical ..." (golint)
    • cryptoTrader/exchanges/binance_api/market/market.go
    • Line 13: warning: exported type ParamsMarket should have comment or be unexported (golint)
    • Line 19: warning: exported type Asks should have comment or be unexported (golint)
    • Line 23: warning: exported type LowHigh should have comment or be unexported (golint)
    • Line 28: warning: exported type Bids should have comment or be unexported (golint)
    • Line 32: warning: exported type ResponseMarketDepth should have comment or be unexported (golint)
    • Line 38: warning: exported type TradeInfo should have comment or be unexported (golint)
    • Line 47: warning: exported type ResponseRecentTrades should have comment or be unexported (golint)
    • Line 49: warning: exported function GetMarketDepth should have comment or be unexported (golint)
    • Line 91: warning: exported function GetRecentTrades should have comment or be unexported (golint)
    • Line 133: warning: exported method ResponseRecentTrades.Iterate should have comment or be unexported (golint)
    • cryptoTrader/exchanges/coinbase/Users/user.go
    • Line 1: warning: don't use MixedCaps in package name; Users should be users (golint)
    • Line 14: warning: exported type User should have comment or be unexported (golint)
    • Line 45: warning: exported type County should have comment or be unexported (golint)
    • Line 51: warning: exported type ReferralMoney should have comment or be unexported (golint)
    • Line 58: warning: exported type SecondFactor should have comment or be unexported (golint)
    • Line 66: warning: exported type Totp should have comment or be unexported (golint)
    • Line 70: warning: exported type SMS should have comment or be unexported (golint)
    • Line 74: warning: exported type Authy should have comment or be unexported (golint)
    • Line 79: warning: exported type U2F should have comment or be unexported (golint)
    • Line 82: warning: exported type Tiers should have comment or be unexported (golint)
    • Line 88: warning: exported type Warning should have comment or be unexported (golint)
    • Line 94: warning: exported type CurrentUserResponse should have comment or be unexported (golint)
    • Line 98: warning: exported function ShowCurrentUser should have comment or be unexported (golint)
    • cryptoTrader/service/types.go
    • Line 17: warning: exported type Coinbase should have comment or be unexported (golint)
    • Line 32: warning: exported type CoinbaseUser should have comment or be unexported (golint)
    • Line 36: warning: exported type CoinbaseAccount should have comment or be unexported (golint)
    • Line 40: warning: exported type CoinbaseAddresses should have comment or be unexported (golint)
    • Line 44: warning: exported type CoinbaseTransactions should have comment or be unexported (golint)
    • Line 48: warning: exported type CoinbaseBuys should have comment or be unexported (golint)
    • Line 52: warning: exported type CoinbaseSells should have comment or be unexported (golint)
    • Line 56: warning: exported type CoinbaseDeposits should have comment or be unexported (golint)
    • Line 60: warning: exported type CoinbaseWithdrawals should have comment or be unexported (golint)
    • Line 64: warning: exported type CoinbasePaymentMethods should have comment or be unexported (golint)

license0%

Checks whether your project has a LICENSE file.


ineffassign100%

IneffAssign detects ineffectual assignments in Go code.

No problems detected. Good job!


misspell100%

Misspell Finds commonly misspelled English words

No problems detected. Good job!