Skip to content

v2.0.3

Choose a tag to compare

@github-actions github-actions released this 24 Jul 15:03

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

  1. 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)
  2. VS Code: install "Go Struct Analyzer" from the
    VS Code Marketplace
    or Open VSX.

  3. Other LSP editors (Neovim, Helix, etc.): configure gsa-lsp lsp
    as a language server — see docs for setup guides.

Changelog

Others

Full Changelog: v2.0.1...v2.0.3

Docs: https://padiazg.github.io/go-struct-analyzer