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.
-
elliot/pkg/database/database.go
- Line 14: warning: exported type Database should have comment or be unexported (golint)
- Line 21: warning: exported function NewDatabase should have comment or be unexported (golint)
- Line 37: warning: exported method Database.StoredData should have comment or be unexported (golint)
- Line 41: warning: exported method Database.StoredDomainData should have comment or be unexported (golint)
- Line 57: warning: exported method Database.RefreshDomainWeb should have comment or be unexported (golint)
- Line 66: warning: exported method Database.RefreshDomainWhois should have comment or be unexported (golint)
- Line 75: warning: exported method Database.Purge should have comment or be unexported (golint)
- Line 84: warning: exported method Database.SetDomain should have comment or be unexported (golint)
- Line 89: warning: exported method Database.SetDomainIPv4 should have comment or be unexported (golint)
- Line 94: warning: exported method Database.SetDomainIPv6 should have comment or be unexported (golint)
- Line 99: warning: exported method Database.SetDomainSubdomains should have comment or be unexported (golint)
- Line 111: warning: exported method Database.SetDomainWhoisTLD should have comment or be unexported (golint)
- Line 116: warning: exported method Database.SetDomainWhoisStatus should have comment or be unexported (golint)
- Line 125: warning: exported method Database.SetDomainWhoisCreated should have comment or be unexported (golint)
- Line 130: warning: exported method Database.SetDomainWhoisChanged should have comment or be unexported (golint)
- Line 135: warning: exported method Database.SetDomainWhoisPhones should have comment or be unexported (golint)
- Line 145: warning: exported method Database.SetDomainWhoisEmails should have comment or be unexported (golint)
- Line 158: warning: exported method Database.SetDomainWebUrl should have comment or be unexported (golint)
- Line 163: warning: exported method Database.SetDomainWebServer should have comment or be unexported (golint)
- Line 168: warning: exported method Database.SetDomainWebRating should have comment or be unexported (golint)
- Line 173: warning: exported method Database.SetDomainWebRedirects should have comment or be unexported (golint)
- Line 178: warning: exported method Database.SetDomainWebLinks should have comment or be unexported (golint)
- Line 188: warning: exported method Database.SetDomainWebJS should have comment or be unexported (golint)
- Line 202: warning: exported method Database.GetDomain should have comment or be unexported (golint)
- Line 210: warning: exported method Database.GetDomainIPv4 should have comment or be unexported (golint)
- Line 218: warning: exported method Database.GetDomainIPv6 should have comment or be unexported (golint)
- Line 226: warning: exported method Database.GetDomainSubdomains should have comment or be unexported (golint)
- Line 236: warning: exported method Database.GetDomainWhoisTLD should have comment or be unexported (golint)
- Line 244: warning: exported method Database.GetDomainWhoisStatus should have comment or be unexported (golint)
- Line 253: warning: exported method Database.GetDomainWhoisCreated should have comment or be unexported (golint)
- Line 261: warning: exported method Database.GetDomainWhoisChanged should have comment or be unexported (golint)
- Line 269: warning: exported method Database.GetDomainWhoisPhones should have comment or be unexported (golint)
- Line 277: warning: exported method Database.GetDomainWhoisEmails should have comment or be unexported (golint)
- Line 287: warning: exported method Database.GetDomainWebUrl should have comment or be unexported (golint)
- Line 295: warning: exported method Database.GetDomainWebRating should have comment or be unexported (golint)
- Line 303: warning: exported method Database.GetDomainWebServer should have comment or be unexported (golint)
- Line 311: warning: exported method Database.GetDomainWebRedirects should have comment or be unexported (golint)
- Line 319: warning: exported method Database.GetDomainWebJS should have comment or be unexported (golint)
- Line 327: warning: exported method Database.GetDomainWebLinks should have comment or be unexported (golint)
-
elliot/pkg/database/schema.go
- Line 5: warning: exported type DBSchema should have comment or be unexported (golint)
- Line 11: warning: exported type DomainSchema should have comment or be unexported (golint)
- Line 22: warning: exported type DomainWhoisSchema should have comment or be unexported (golint)
- Line 33: warning: exported type DomainWebSchema should have comment or be unexported (golint)
- Line 44: warning: exported type DomainWebTLSSchema should have comment or be unexported (golint)
- Line 47: warning: exported type DomainWebSoftwareSchema 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!