Critical
Go
Handle errors explicitly
Official
Rule Description
Check every error return. No `_` for errors. Wrap with context: `fmt.Errorf("doing x: %w", err)`.
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
- Critical
- Category
- Go
- Used in
- 1 ruleset