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.
Last push 1 week ago
alignment
analyzer
cli
fieldalignment
garbage-collector
go
go-analysis
golang
linter
memory
memory-optimization
padding
performance
static-analysis
struct
struct-alignment
Created
Mar 2023
Total stars
1,091
Last 7 days
0
Last 30 days
+6
Last 12 months
+211
README badge
[](https://bestofgo.dev/dkorunic/betteralign)