GoAlign v1.4.0
Highlights
- Cacheguard — detect false sharing;
--cacheguard/--cache-linepad isolation - Config —
.goalign.ymlproject defaults --packages— resolve imported type sizes via go/packages- SARIF — GitHub Code Scanning output (
-f sarif) - Policies —
--policy=atomics|density|stable - Fix UX —
--diff/--dry-run; opt-in--rewrite-bools - Multi-arch —
--archessummary matrix - Vet plugin —
goalign-analyzer
Hardening
- Correct atomic.Value / Uintptr / Pointer / unsafe.Pointer sizes
- Field-ignore full-struct metrics; safer fixer (atomic writes, slot mapping, comments)
- Config arches rejected on
fix; machine formats under--arches; min-waste keeps false-share/cacheguard
See CHANGELOG.md for the full list.
Install
go install github.com/gopherust-io/goalign@v1.4.0
go install github.com/gopherust-io/goalign/cmd/goalign-analyzer@v1.4.0