🦀 ClawHub
Go Error Handler
by @charlie-morrison
Analyze Go error handling patterns — detect swallowed errors, missing error wrapping, sentinel vs custom error usage, type assertions, and idiomatic error pr...
📋 Tips & Best Practices
errcheck ./... to catch unchecked errors mechanicallygolangci-lint with wrapcheck, errcheck, goerr113 linterserrors.Join (Go 1.20+) or go.uber.org/multierrdefer Close() errors for writers — flushed data may fail to writeTERMINAL
clawhub install go-error-handler