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.
-
sslscan/sslscan.go
- Line 23: warning: exported const API_URL_INFO should have comment (or a comment on this block) or be unexported (golint)
- Line 29: warning: exported const STATUS_IN_PROGRESS should have comment (or a comment on this block) or be unexported (golint)
- Line 36: warning: exported const SSLCSC_STATUS_FAILED should have comment (or a comment on this block) or be unexported (golint)
- Line 44: warning: exported const LUCKY_MINUS_STATUS_FAILED should have comment (or a comment on this block) or be unexported (golint)
- Line 51: warning: exported const TICKETBLEED_STATUS_FAILED should have comment (or a comment on this block) or be unexported (golint)
- Line 58: warning: exported const BLEICHENBACHER_STATUS_FAILED should have comment (or a comment on this block) or be unexported (golint)
- Line 67: warning: exported const POODLE_STATUS_TIMEOUT should have comment (or a comment on this block) or be unexported (golint)
- Line 76: warning: exported const REVOCATION_STATUS_NOT_CHECKED should have comment (or a comment on this block) or be unexported (golint)
- Line 85: warning: exported const HSTS_STATUS_UNKNOWN should have comment (or a comment on this block) or be unexported (golint)
- Line 94: warning: exported const HPKP_STATUS_UNKNOWN should have comment (or a comment on this block) or be unexported (golint)
- Line 104: warning: exported const SPKP_STATUS_UNKNOWN should have comment (or a comment on this block) or be unexported (golint)
- Line 114: warning: exported const DROWN_STATUS_ERROR should have comment (or a comment on this block) or be unexported (golint)
- Line 125: warning: exported const PROTOCOL_INTOLERANCE_TLS1_0 should have comment (or a comment on this block) or be unexported (golint)
- Line 134: warning: exported const CERT_CHAIN_ISSUE_UNUSED should have comment (or a comment on this block) or be unexported (golint)
- Line 143: warning: exported const PROTOCOL_SSL2 should have comment (or a comment on this block) or be unexported (golint)
- Line 156: warning: exported type API should have comment or be unexported (golint)
- Line 162: warning: exported type AnalyzeParams should have comment or be unexported (golint)
- Line 170: warning: exported type AnalyzeProgress should have comment or be unexported (golint)
- Line 181: warning: exported type Info should have comment or be unexported (golint)
- Line 190: warning: exported type AnalyzeInfo should have comment or be unexported (golint)
- Line 207: warning: exported type EndpointInfo should have comment or be unexported (golint)
- Line 225: warning: exported type EndpointDetails should have comment or be unexported (golint)
- Line 293: warning: exported type Cert should have comment or be unexported (golint)
- Line 326: warning: exported type ChainCert should have comment or be unexported (golint)
- Line 334: warning: exported type TrustPath should have comment or be unexported (golint)
- Line 339: warning: exported type TrustStore should have comment or be unexported (golint)
- Line 345: warning: exported type NamedGroups should have comment or be unexported (golint)
- Line 350: warning: exported type NamedGroup should have comment or be unexported (golint)
- Line 357: warning: exported type Protocol should have comment or be unexported (golint)
- Line 365: warning: exported type ProtocolSuites should have comment or be unexported (golint)
- Line 371: warning: exported type Suite should have comment or be unexported (golint)
- Line 387: warning: exported type SIMS should have comment or be unexported (golint)
- Line 391: warning: exported type SIM should have comment or be unexported (golint)
- Line 414: warning: exported type SimClient should have comment or be unexported (golint)
- Line 422: warning: exported type HSTSPolicy should have comment or be unexported (golint)
- Line 433: warning: exported type HSTSPreload should have comment or be unexported (golint)
- Line 441: warning: exported type HPKPPolicy should have comment or be unexported (golint)
- Line 453: warning: exported type SPKPPolicy should have comment or be unexported (golint)
- Line 464: warning: exported type Pin should have comment or be unexported (golint)
- Line 469: warning: exported type Directive should have comment or be unexported (golint)
- Line 474: warning: exported type DrownHost should have comment or be unexported (golint)
- Line 483: warning: exported type CAAPolicy should have comment or be unexported (golint)
- Line 488: warning: exported type CAARecord should have comment or be unexported (golint)
- Line 494: warning: exported type HTTPTransaction should have comment or be unexported (golint)
- Line 505: warning: exported type HTTPHeader should have comment or be unexported (golint)
- Line 512: warning: exported type HTTPError 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
No problems detected. Good job!