High Go

Use context for cancellation and timeouts

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
View

Add This Rule

Sign in to add this rule to your workspace

Sign in with GitHub

Details

Severity
High
Category
Go
Used in
1 ruleset