Preparing report...

Report for github.com/webability-go/bitso

A+    Excellent!    Found 9 issues across 43 files

Tweet

gofmt100%

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

No problems detected. Good job!


go_vet100%

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

No problems detected. Good job!


gocyclo100%

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

No problems detected. Good job!


golint79%

Golint is a linter for Go source code.

    • bitso/public_orderbook.go
    • Line 10: warning: exported type OrderBookResponse should have comment or be unexported (golint)
    • Line 16: warning: exported type OrderBook should have comment or be unexported (golint)
    • Line 23: warning: exported type Order should have comment or be unexported (golint)
    • Line 30: warning: exported method API.OrderBook should have comment or be unexported (golint)
    • bitso/public_ticker.go
    • Line 10: warning: exported type TickersResponse should have comment or be unexported (golint)
    • Line 16: warning: exported type TickerResponse should have comment or be unexported (golint)
    • Line 22: warning: exported type Tickers should have comment or be unexported (golint)
    • Line 24: warning: exported type Ticker should have comment or be unexported (golint)
    • Line 36: warning: exported method API.Tickers should have comment or be unexported (golint)
    • Line 53: warning: exported method API.Ticker should have comment or be unexported (golint)
    • bitso/public_trades.go
    • Line 12: warning: exported type TradesResponse should have comment or be unexported (golint)
    • Line 18: warning: exported type Trades should have comment or be unexported (golint)
    • Line 20: warning: exported type Trade should have comment or be unexported (golint)
    • Line 29: warning: exported method API.Trades should have comment or be unexported (golint)
    • bitso/util.go
    • Line 17: warning: exported const BASEURL should have comment (or a comment on this block) or be unexported (golint)
    • Line 20: warning: exported type Error should have comment or be unexported (golint)
    • bitso/bitso.go
    • Line 3: warning: exported const VERSION should have comment or be unexported (golint)
    • Line 5: warning: exported type API should have comment or be unexported (golint)
    • Line 13: warning: exported function NewAPI should have comment or be unexported (golint)
    • bitso/private_accountbalance.go
    • Line 8: warning: exported type BalanceResponse should have comment or be unexported (golint)
    • Line 16: warning: exported type Balances should have comment or be unexported (golint)
    • Line 18: warning: exported type Balance should have comment or be unexported (golint)
    • Line 25: warning: exported method API.Balance should have comment or be unexported (golint)
    • bitso/private_accountstatus.go
    • Line 8: warning: exported type AccountStatusResponse should have comment or be unexported (golint)
    • Line 14: warning: exported type AccountData should have comment or be unexported (golint)
    • Line 33: warning: exported method API.AccountStatus should have comment or be unexported (golint)
    • bitso/private_fees.go
    • Line 9: warning: exported type FeesResponse should have comment or be unexported (golint)
    • Line 15: warning: exported type Fees should have comment or be unexported (golint)
    • Line 20: warning: exported type Fee should have comment or be unexported (golint)
    • Line 28: warning: exported method API.Fees should have comment or be unexported (golint)
    • bitso/public_availablebooks.go
    • Line 8: warning: exported type AvailableBookResponse should have comment or be unexported (golint)
    • Line 14: warning: exported type Books should have comment or be unexported (golint)
    • Line 16: warning: exported type Book should have comment or be unexported (golint)
    • Line 26: warning: exported method API.AvailableBooks should have comment or be unexported (golint)

license100%

Checks whether your project has a LICENSE file.

No problems detected. Good job!


ineffassign100%

IneffAssign detects ineffectual assignments in Go code.

No problems detected. Good job!


misspell100%

Misspell Finds commonly misspelled English words

No problems detected. Good job!