Preparing report...

Report for github.com/qioalice/ipstack

A+    Excellent!    Found 1 issues across 1 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!


golint98%

Golint is a linter for Go source code.

    • ipstack/ipstack.go
    • Line 113: warning: comment on exported type Client should be of the form "Client ..." (with optional leading article) (golint)
    • Line 176: warning: comment on exported type Response should be of the form "Response ..." (with optional leading article) (golint)
    • Line 478: warning: comment on exported var DefaultClient should be of the form "DefaultClient ..." (golint)
    • Line 485: warning: comment on exported method Client.R should be of the form "R ..." (golint)
    • Line 520: warning: comment on exported method Client.IP should be of the form "IP ..." (golint)
    • Line 540: warning: comment on exported method Client.IPs should be of the form "IPs ..." (golint)
    • Line 562: warning: comment on exported method Client.Me should be of the form "Me ..." (golint)
    • Line 995: warning: comment on exported function New should be of the form "New ..." (golint)
    • Line 1114: warning: comment on exported function ParamToken should be of the form "ParamToken ..." (golint)
    • Line 1127: warning: comment on exported function ParamDisableFirstMeCall should be of the form "ParamDisableFirstMeCall ..." (golint)
    • Line 1144: warning: comment on exported function ParamUseHTTPS should be of the form "ParamUseHTTPS ..." (golint)
    • Line 1156: warning: comment on exported function ParamFields should be of the form "ParamFields ..." (golint)
    • Line 1170: warning: comment on exported function ParamEnableSecurity should be of the form "ParamEnableSecurity ..." (golint)
    • Line 1182: warning: comment on exported function Init should be of the form "Init ..." (golint)
    • Line 1215: warning: comment on exported function R should be of the form "R ..." (golint)
    • Line 1221: warning: comment on exported function IP should be of the form "IP ..." (golint)
    • Line 1231: warning: comment on exported function IPs should be of the form "IPs ..." (golint)
    • Line 1241: warning: comment on exported function Me should be of the form "Me ..." (golint)
    • Line 1251: warning: comment on exported function APIError should be of the form "APIError ..." (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!


misspell99%

Misspell Finds commonly misspelled English words

    • ipstack/ipstack.go
    • Line 49: warning: "specifing" is a misspelling of "specifying" (misspell)
    • Line 481: warning: "successfull" is a misspelling of "successful" (misspell)
    • Line 563: warning: "successfull" is a misspelling of "successful" (misspell)
    • Line 581: warning: "Efficency" is a misspelling of "Efficiency" (misspell)
    • Line 802: warning: "successfull" is a misspelling of "successful" (misspell)
    • Line 999: warning: "successfull" is a misspelling of "successful" (misspell)
    • Line 1132: warning: "successfull" is a misspelling of "successful" (misspell)
    • Line 1157: warning: "specifiy" is a misspelling of "specify" (misspell)