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.
-
net-gateway-api/pkg/reconciler/testing/listers.go
- Line 42: warning: exported type Listers should have comment or be unexported (golint)
- Line 46: warning: exported function NewListers should have comment or be unexported (golint)
- Line 58: warning: exported function NewScheme should have comment or be unexported (golint)
- Line 67: warning: exported method Listers.NewScheme should have comment or be unexported (golint)
- Line 76: warning: exported method Listers.GetNetworkingObjects should have comment or be unexported (golint)
- Line 80: warning: exported method Listers.GetKubeObjects should have comment or be unexported (golint)
- Line 84: warning: exported method Listers.GetGatewayAPIObjects should have comment or be unexported (golint)
-
net-gateway-api/test/conformance/ingressv2/util.go
- Line 767: warning: exported function CreateHTTPRouteReady should have comment or be unexported (golint)
- Line 977: warning: exported type RequestOption should have comment or be unexported (golint)
- Line 978: warning: exported type ResponseExpectation should have comment or be unexported (golint)
- Line 980: warning: exported function RuntimeRequest should have comment or be unexported (golint)
- Line 1060: warning: exported function DumpResponse should have comment or be unexported (golint)
- Line 1069: warning: exported function StatusCodeExpectation should have comment or be unexported (golint)
- Line 1078: warning: exported function IsDialError should have comment or be unexported (golint)
IneffAssign detects ineffectual assignments in Go code.
No problems detected. Good job!
Checks whether your project has a LICENSE file.
No problems detected. Good job!
Misspell Finds commonly misspelled English words
No problems detected. Good job!