Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Non-inherited new context golang-ci linter reported issues #419

Open
christophd opened this issue Jun 23, 2022 · 1 comment
Open

Fix Non-inherited new context golang-ci linter reported issues #419

christophd opened this issue Jun 23, 2022 · 1 comment
Labels
enhancement New feature or request task Things that just need to be done

Comments

@christophd
Copy link
Member

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.

@christophd christophd added the enhancement New feature or request label Jun 23, 2022
@christophd christophd changed the title Fix Non-inherited new contextgolang-ci linter reported issues Fix Non-inherited new context golang-ci linter reported issues Jun 23, 2022
@christophd
Copy link
Member Author

the linter has been disabled temporarily

@christophd christophd added the task Things that just need to be done label Jun 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request task Things that just need to be done
Projects
None yet
Development

No branches or pull requests

1 participant