feat: HttpRequest path and query mapping #6275
Annotations
10 errors and 1 warning
backend/schema/validate.go#L575
singleCaseSwitch: should rewrite switch statement to if statement (gocritic)
|
backend/schema/validate.go#L564
typeSwitchVar: 1 case can benefit from type switch with assignment (gocritic)
|
backend/controller/ingress/request.go#L82
commentFormatting: put a space between `//` and comment text (gocritic)
|
backend/controller/ingress/request.go#L186
singleCaseSwitch: should rewrite switch statement to if statement (gocritic)
|
backend/controller/ingress/request.go#L191
singleCaseSwitch: should rewrite switch statement to if statement (gocritic)
|
backend/controller/ingress/request.go#L190
type assertion must be checked (forcetypeassert)
|
backend/schema/validate.go#L566
type assertion must be checked (forcetypeassert)
|
backend/controller/ingress/request.go#L63
ineffectual assignment to err (ineffassign)
|
backend/controller/ingress/request.go#L160
error returned from external package is unwrapped: sig: func strconv.ParseInt(s string, base int, bitSize int) (i int64, err error) (wrapcheck)
|
backend/controller/ingress/request.go#L166
error returned from external package is unwrapped: sig: func strconv.ParseFloat(s string, bitSize int) (float64, error) (wrapcheck)
|
backend/schema/validate.go#L644
var-naming: type HttpRequestExtractedTypes should be HTTPRequestExtractedTypes (revive)
|
This job failed
Loading