v2.0.3
go-struct-analyzer v2.0.3
Go struct field alignment analyzer with exact fieldalignment parity.
Ships as CLI (gsa-lsp analyze) and LSP server (gsa-lsp lsp) for
editor integration.
Full documentation: https://padiazg.github.io/go-struct-analyzer
Quick Start
-
Install & verify the LSP server:
go install github.com/padiazg/go-struct-analyzer/v2/cmd/gsa-lsp@v2.0.3 gsa-lsp analyze struct.go # CLI analysis gsa-lsp lsp # LSP mode (stdin/stdout)
-
VS Code: install "Go Struct Analyzer" from the
VS Code Marketplace
or Open VSX. -
Other LSP editors (Neovim, Helix, etc.): configure
gsa-lsp lsp
as a language server — see docs for setup guides.
Changelog
Others
- 843c872: Enable full release (@padiazg)
- c67bb7e: Preflight fixes (@padiazg)
- 9ec2e9c: added docs workflow, updated release header & footer (@padiazg)
- fc68f1e: refactor: move main.go to cmd/gsa-lsp for proper binary naming (@padiazg)
- e6f892b: updated changelod and readme (@padiazg)
- a61da62: updated versioning for RC (@padiazg)
Full Changelog: v2.0.1...v2.0.3
Docs: https://padiazg.github.io/go-struct-analyzer