dkorunic/betteralign

betteralign

✅ Recently maintained

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.

1,091Stars
22Forks
+47-day stars

Go · BSD-3-Clause · Last push 2026-10-20

Official repository & installation ↗

Star history

2025-09-292026-11-02
View historical data
DateStars
2026-10-041,084
2026-10-051,084
2026-10-061,084
2026-10-071,084
2026-10-081,085
2026-10-091,085
2026-10-101,085
2026-10-111,085
2026-10-121,085
2026-10-131,085
2026-10-141,085
2026-10-151,086
2026-10-161,086
2026-10-171,086
2026-10-181,086
2026-10-191,086
2026-10-201,086
2026-10-211,086
2026-10-221,086
2026-10-231,087
2026-10-241,087
2026-10-251,087
2026-10-261,088
2026-10-271,088
2026-10-281,088
2026-10-291,088
2026-10-301,089
2026-10-311,090
2026-11-011,091
2026-11-021,091

Get the project

git clone https://github.com/dkorunic/betteralign.git

Related projects & alternative candidates

Related domains do not imply feature parity. Review official documentation and licenses.