errcheck
« Back to VersTracker
Description:
Finds silently ignored errors in Go code
Type: Formula  |  Latest Version: 1.9.0@1  |  Tracked Since: Dec 17, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: go static-analysis error-handling linter developer-tools
Install: brew install errcheck
About:
errcheck is a static analysis tool for Go that identifies calls to functions which return errors that are not being checked. It helps developers prevent bugs and potential panics by ensuring that error return values are explicitly handled.
Key Features:
  • Static analysis of Go source code
  • Detects unchecked error returns
  • Configurable exclusion of specific identifiers
  • Integrates with CI/CD pipelines
Use Cases:
  • Enforcing error handling discipline in Go projects
  • Code review automation to catch missing error checks
  • Preventing runtime panics by identifying unhandled errors
Alternatives:
  • staticcheck – Broader static analysis suite that includes error checking among many other rules
  • golangci-lint – Meta-linter that aggregates multiple tools including errcheck
License: MIT
Bottles available for: arm64_tahoe, arm64_sequoia, arm64_sonoma, arm64_ventura, sonoma, ventura, arm64_linux, x86_64_linux
Version History
Detected Version Rev Change Commit
Sep 13, 2025 2:04pm 1 VERSION_BUMP 598ce5a6