🔥 feat: Add Context Support to RequestID Middleware #6428
Annotations
7 errors
golangci-lint:
middleware/requestid/requestid.go#L53
use-any: since Go 1.18 'interface{}' can be replaced by 'any' (revive)
|
golangci-lint:
middleware/requestid/requestid_test.go#L61
use-any: since Go 1.18 'interface{}' can be replaced by 'any' (revive)
|
golangci-lint:
middleware/requestid/requestid_test.go#L64
fieldalignment: struct with 24 pointer bytes could be 16 (govet)
|
golangci-lint:
middleware/requestid/requestid_test.go#L71
use-any: since Go 1.18 'interface{}' can be replaced by 'any' (revive)
|
golangci-lint:
middleware/requestid/requestid_test.go#L79
use-any: since Go 1.18 'interface{}' can be replaced by 'any' (revive)
|
golangci-lint:
middleware/requestid/requestid_test.go#L87
The copy of the 'for' variable "tt" can be deleted (Go 1.22+) (copyloopvar)
|
golangci-lint
issues found
|
Loading