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.
-
go-uaa/api.go
- Line 74: warning: exported type Option should have comment or be unexported (golint)
- Line 78: warning: exported type AuthenticationOption should have comment or be unexported (golint)
- Line 82: warning: exported function New should have comment or be unexported (golint)
- Line 103: warning: exported method API.Token should have comment or be unexported (golint)
- Line 220: warning: exported function WithClient should have comment or be unexported (golint)
- Line 232: warning: exported function WithTransport should have comment or be unexported (golint)
- Line 244: warning: exported function WithSkipSSLValidation should have comment or be unexported (golint)
- Line 256: warning: exported function WithUserAgent should have comment or be unexported (golint)
- Line 268: warning: exported function WithZoneID should have comment or be unexported (golint)
- Line 280: warning: exported function WithVerbosity should have comment or be unexported (golint)
- Line 294: warning: exported function WithClientCredentials should have comment or be unexported (golint)
- Line 332: warning: exported function WithPasswordCredentials should have comment or be unexported (golint)
- Line 380: warning: exported function WithAuthorizationCode should have comment or be unexported (golint)
- Line 432: warning: exported function WithRefreshToken should have comment or be unexported (golint)
- Line 481: warning: exported function WithToken should have comment or be unexported (golint)
- Line 519: warning: exported function WithNoAuthentication should have comment or be unexported (golint)
-
go-uaa/groups.go
- Line 129: warning: exported method API.MapGroup should have comment or be unexported (golint)
- Line 147: warning: exported method API.UnmapGroup should have comment or be unexported (golint)
- Line 160: warning: exported method API.ListGroupMappings should have comment or be unexported (golint)
- Line 189: warning: comment on exported method API.ListAllGroupMappings should be of the form "ListAllGroupMappings ..." (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!