Skip to content
Blog

All analyzers

gohawk ships a focused set of analyzers rather than a general-purpose lint catalog. Every check identifies the kind of claim it makes:

  • Defect means the available evidence establishes broken or ineffective behavior.
  • Hazard means the behavior is risky, but harm depends on a wider runtime contract.
  • Policy means valid Go violates an intentionally selected engineering convention.

Kind is descriptive metadata and does not change whether a check is enabled by default.

Concurrency and synchronization

These analyzers check goroutine lifecycles, channel use, and synchronization.

Resources and lifecycle

These analyzers check resource ownership, cleanup, and lifetimes.