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!
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!
Golint is a linter for Go source code.
-
cryptocomparego/pricemulti.go
- Line 19: warning: comment on exported type PriceMultiService should be of the form "PriceMultiService ..." (with optional leading article) (golint)
- Line 24: warning: exported type PriceMultiServiceOp should have comment or be unexported (golint)
- Line 28: warning: exported type PriceMulti should have comment or be unexported (golint)
- Line 35: warning: exported type PriceMultiRequest should have comment or be unexported (golint)
- Line 44: warning: exported function NewPriceMultiRequest should have comment or be unexported (golint)
- Line 52: warning: exported method PriceMultiRequest.FormattedQueryString should have comment or be unexported (golint)
- Line 77: warning: comment on exported type PriceMultiNameSorter should be of the form "PriceMultiNameSorter ..." (with optional leading article) (golint)
- Line 116: warning: exported method PriceMultiServiceOp.List should have comment or be unexported (golint)
-
cryptocomparego/pricemultifull.go
- Line 13: warning: comment on exported type PriceMultiFullService should be of the form "PriceMultiFullService ..." (with optional leading article) (golint)
- Line 20: warning: exported type PriceMultiFullServiceOp should have comment or be unexported (golint)
- Line 24: warning: exported type PriceFull should have comment or be unexported (golint)
- Line 28: warning: exported type PriceMultiFullAgg should have comment or be unexported (golint)
- Line 32: warning: exported type PriceMultiFull should have comment or be unexported (golint)
- Line 39: warning: exported function NewPriceMultiFullRequest should have comment or be unexported (golint)
- Line 47: warning: exported method PriceMultiFullServiceOp.List should have comment or be unexported (golint)
-
cryptocomparego/socialstats.go
- Line 16: warning: exported type SocialStatsService should have comment or be unexported (golint)
- Line 20: warning: exported type SocialStatsServiceOp should have comment or be unexported (golint)
- Line 26: warning: exported type General should have comment or be unexported (golint)
- Line 33: warning: exported type PageViewsSplit should have comment or be unexported (golint)
- Line 43: warning: exported type SimilarItem should have comment or be unexported (golint)
- Line 52: warning: exported type CryptopianFollower should have comment or be unexported (golint)
- Line 60: warning: exported type CryptoCompare should have comment or be unexported (golint)
- Line 71: warning: exported type Twitter should have comment or be unexported (golint)
- Line 83: warning: exported type Reddit should have comment or be unexported (golint)
- Line 96: warning: exported type Facebook should have comment or be unexported (golint)
- Line 105: warning: exported type Source should have comment or be unexported (golint)
- Line 111: warning: exported type CodeRepositoryItem should have comment or be unexported (golint)
- Line 132: warning: exported type CodeRepository should have comment or be unexported (golint)
- Line 137: warning: exported type SocialStats should have comment or be unexported (golint)
- Line 155: warning: exported method SocialStatsServiceOp.Get should have comment or be unexported (golint)
-
cryptocomparego/coin.go
- Line 14: warning: exported type CoinService should have comment or be unexported (golint)
- Line 18: warning: exported type CoinServiceOp should have comment or be unexported (golint)
- Line 24: warning: exported type Coin should have comment or be unexported (golint)
- Line 36: warning: comment on exported type CoinNamesSorter should be of the form "CoinNamesSorter ..." (with optional leading article) (golint)
- Line 63: warning: exported method CoinServiceOp.List should have comment or be unexported (golint)
-
cryptocomparego/cryptocomparego.go
- Line 25: warning: exported type Client should have comment or be unexported (golint)
- Line 51: warning: exported type RequestCompletionCallback should have comment or be unexported (golint)
- Line 53: warning: exported type Response should have comment or be unexported (golint)
- Line 59: warning: exported type ErrorResponse should have comment or be unexported (golint)
- Line 92: warning: exported function NewClient should have comment or be unexported (golint)
- Line 113: warning: exported type ClientOpt should have comment or be unexported (golint)
- Line 115: warning: exported function New should have comment or be unexported (golint)
- Line 126: warning: exported function SetBaseURL should have comment or be unexported (golint)
- Line 138: warning: exported function SetUserAgent should have comment or be unexported (golint)
- Line 145: warning: exported method Client.NewRequest should have comment or be unexported (golint)
- Line 172: warning: exported method Client.OnRequestCompleted should have comment or be unexported (golint)
- Line 181: warning: exported method Client.Do should have comment or be unexported (golint)
- Line 231: warning: exported function CheckResponse should have comment or be unexported (golint)
-
cryptocomparego/histoday.go
- Line 22: warning: comment on exported type HistodayService should be of the form "HistodayService ..." (with optional leading article) (golint)
- Line 27: warning: exported type HistodayServiceOp should have comment or be unexported (golint)
- Line 50: warning: exported type Histoday should have comment or be unexported (golint)
- Line 60: warning: exported type HistodayRequest should have comment or be unexported (golint)
- Line 73: warning: exported function NewHistodayRequest should have comment or be unexported (golint)
- Line 90: warning: exported method HistodayRequest.FormattedQueryString should have comment or be unexported (golint)
- Line 117: warning: exported function ReadAndAssignResponseBody should have comment or be unexported (golint)
- Line 127: warning: exported method HistodayServiceOp.Get should have comment or be unexported (golint)
-
cryptocomparego/histominute.go
- Line 19: warning: comment on exported type HistominuteService should be of the form "HistominuteService ..." (with optional leading article) (golint)
- Line 24: warning: exported type HistominuteServiceOp should have comment or be unexported (golint)
- Line 30: warning: exported type HistominuteResponse should have comment or be unexported (golint)
- Line 42: warning: exported type Histominute should have comment or be unexported (golint)
- Line 52: warning: exported type HistominuteRequest should have comment or be unexported (golint)
- Line 64: warning: exported function NewHistominuteRequest should have comment or be unexported (golint)
- Line 81: warning: exported method HistominuteRequest.FormattedQueryString should have comment or be unexported (golint)
- Line 110: warning: exported method HistominuteServiceOp.Get should have comment or be unexported (golint)
-
cryptocomparego/price.go
- Line 19: warning: comment on exported type PriceService should be of the form "PriceService ..." (with optional leading article) (golint)
- Line 26: warning: exported type PriceServiceOp should have comment or be unexported (golint)
- Line 32: warning: exported type Price should have comment or be unexported (golint)
- Line 37: warning: exported type PriceRequest should have comment or be unexported (golint)
- Line 46: warning: exported function NewPriceRequest should have comment or be unexported (golint)
- Line 54: warning: exported method PriceRequest.FormattedQueryString should have comment or be unexported (golint)
- Line 79: warning: comment on exported type PriceNameSorter should be of the form "PriceNameSorter ..." (with optional leading article) (golint)
- Line 110: warning: exported method PriceServiceOp.List should have comment or be unexported (golint)
Checks whether your project has a LICENSE file.
No problems detected. Good job!
IneffAssign detects ineffectual assignments in Go code.
No problems detected. Good job!
Misspell Finds commonly misspelled English words