citrusframework / citrusframework/yaks
Fix `Non-inherited new context` golang-ci linter reported issues
- Dominant language
- Java
- Stars
- 90
- Forks
- 28
- PR merge metrics
- No merged PRs in 30d
Description
[containedctx](https://github.com/sivchari/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](https://go.dev/blog/context-and-structs) the Go blog post.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by running the containedctx linter in the YAKS repository and identify the reported locations. Inspect each affected struct and its surrounding usage before deciding the required changes. Done means the reported contained context issues are resolved and the relevant tests pass.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- tooling
- Issue type
- Refactor
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100