Skip to content

🔥 feat: Add Context Support to RequestID Middleware #6428

🔥 feat: Add Context Support to RequestID Middleware

🔥 feat: Add Context Support to RequestID Middleware #6428

Re-run triggered November 13, 2024 15:13
Status Failure
Total duration 58s
Artifacts

linter.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

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