Detect and fix suboptimal struct field layout in Go: reduces padding and GC pointer bytes, rewrites files while preserving comments. A drop-in fieldalignment replacement.
go cli golang performance memory linter static-analysis garbage-collector analyzer alignment struct padding memory-optimization go-analysis struct-alignment fieldalignment
-
Updated
Oct 10, 2026 - Go