🧹 chore: Improve propagation of context.Context #8809
Annotations
10 errors
|
lint:
middleware/cache/cache_test.go#L244
flag-parameter: parameter 'canceled' seems to be a control flag, avoid control coupling (revive)
|
|
lint:
middleware/cache/cache_test.go#L240
unused-receiver: method receiver 'c' is not referenced in method's body, consider removing or renaming it as _ (revive)
|
|
lint:
middleware/cache/cache_test.go#L105
unused-receiver: method receiver 's' is not referenced in method's body, consider removing or renaming it as _ (revive)
|
|
lint:
ctx_test.go#L3849
context-keys-type: should not use basic type string as key in context.WithValue (revive)
|
|
lint:
ctx_test.go#L3832
unused-receiver: method receiver 's' is not referenced in method's body, consider removing or renaming it as _ (revive)
|
|
lint:
middleware/limiter/limiter_test.go#L50
Error return value is not checked (errcheck)
|
|
lint:
middleware/cache/cache_test.go#L106
Error return value is not checked (errcheck)
|
|
lint:
middleware/limiter/limiter_test.go#L121
found a struct that contains a context.Context field (containedctx)
|
|
lint:
middleware/cache/cache_test.go#L237
found a struct that contains a context.Context field (containedctx)
|
|
lint:
ctx_test.go#L3762
found a struct that contains a context.Context field (containedctx)
|