Repository navigation
v0.1.0
First tagged release of gox.
Install
# from source
go install github.com/mentasystems/gox/cmd/gox@v0.1.0
# or download the binary for your platform belowAfter install, wire it into Claude Code:
gox install claudeWhat's in here
10 analyzers reimplemented from stdlib only (no golang.org/x/tools, no
third-party linter deps):
errcheck— dropped error returnsshadow—:=shadowing an outer variable (except theokidiom)forcetypeassert— type assertions without comma-oknamedargs— adjacent same-type args without/* paramName */at call sitesexhaustive— non-exhaustive switch over iota enums and sealed interfacesnoglobals— mutable package-levelvarbanany—any/interface{}without justificationbodyclose—*http.Response.Bodynot closedcontextcheck—context.Background()inside a function that already hasctxgoroutine—gowithout a visible*errgroup.Group,sync.WaitGroup, orcontext.CancelFunc
Plus:
- Per-package incremental cache (
~/.cache/gox/v2) keyed by mtime+size. - Parallel package processing (worker pool sized to GOMAXPROCS).
gox baselinecaptures existing issues so adoption on legacy
codebases is zero-day-1-work.- Generated files (
// Code generated ... DO NOT EDIT.) are skipped. gox install clauderegisters a PostToolUse hook in
~/.claude/settings.jsonso Claude Code runs gox after every Go file
edit and must fix or annotate before continuing.
On the Agentero monorepo (442 packages): ~6.3s cold, ~2.5s warm cache.
BSD-3-Clause.