Skip to content

v1.4.0

Latest

Choose a tag to compare

@gopherust-io gopherust-io released this 02 Aug 10:23
· 4 commits to master since this release

GoAlign v1.4.0

Highlights

  • Cacheguard — detect false sharing; --cacheguard / --cache-line pad isolation
  • Config.goalign.yml project 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--arches summary matrix
  • Vet plugingoalign-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