📈 GH Trending Explorer 🎲 Surprise me

Search: go-analysis · clear

dkorunic / betteralign

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.

▲ ~0/7d ★ 1.1k Go 2d ago
typesafe-docs / iterleak

Go analyzer that reports iter.Pull and iter.Pull2 calls whose stop function can go uncalled and leak a goroutine.

▲ ~0/7d ★ 68 Go 23d ago
mpyw / declscope

Keep Go packages flat without losing their internal boundaries: file-level private and package scopes for declarations, methods and struct fields