High
Go
Use context for cancellation and timeouts
Official
Rule Description
`context.Context` as first param. Propagate through call chain. Use `context.WithTimeout` for I/O.
Included in Rulesets
Code Review Standards
214 rules • 0 standards
Add This Rule
Sign in to add this rule to your workspace
Sign in with GitHubDetails
- Severity
- High
- Category
- Go
- Used in
- 1 ruleset