Open christophd opened 2 years ago
containedctx is a linter that detects struct contained context.Context field. This is discouraged technique in favor of passing context as first argument of method or function.
For rationale please read Contexts and structs the Go blog post.
the linter has been disabled temporarily
containedctx is a linter that detects struct contained context.Context field. This is discouraged technique in favor of passing context as first argument of method or function.
For rationale please read Contexts and structs the Go blog post.