NGINX: Add nginx-go-crossplane
rendering.
#1842
Annotations
10 errors
lint:
internal/ingress/controller/template/crossplane/location.go#L439
string `off` has 3 occurrences, make it a constant (goconst)
|
lint:
internal/ingress/controller/template/crossplane/cors.go#L26
hugeParam: locationcors is heavy (96 bytes); consider passing it by pointer (gocritic)
|
lint:
internal/ingress/controller/template/crossplane/cors.go#L46
hugeParam: cfg is heavy (96 bytes); consider passing it by pointer (gocritic)
|
lint:
internal/ingress/controller/template/crossplane/http.go#L143
appendCombine: can combine chain of 4 appends into one (gocritic)
|
lint:
internal/ingress/controller/template/crossplane/http.go#L348
appendCombine: can combine chain of 2 appends into one (gocritic)
|
lint:
internal/ingress/controller/template/crossplane/http.go#L296
rangeValCopy: each iteration copies 192 bytes (consider pointers or indexing) (gocritic)
|
lint:
internal/ingress/controller/template/crossplane/http.go#L88
whyNoLint: include an explanation for nolint directive (gocritic)
|
lint:
internal/ingress/controller/template/crossplane/location.go#L689
appendCombine: can combine chain of 2 appends into one (gocritic)
|
lint:
internal/ingress/controller/template/crossplane/utils.go#L216
hugeParam: tc is heavy (2624 bytes); consider passing it by pointer (gocritic)
|
lint:
internal/ingress/controller/template/crossplane/utils.go#L65
paramTypeCombine: func(directive string, comment string, args ...any) *ngx_crossplane.Directive could be replaced with func(directive, comment string, args ...any) *ngx_crossplane.Directive (gocritic)
|