| Crates.io | go-analyzer |
| lib.rs | go-analyzer |
| version | 0.1.1 |
| created_at | 2025-08-27 14:12:43.814758+00 |
| updated_at | 2025-08-27 17:37:13.247709+00 |
| description | A high-performance Language Server Protocol (LSP) implementation for Go code analysis, providing real-time variable lifecycle tracking and data race detection |
| homepage | https://github.com/vremyavnikuda/go-analyzer-rs |
| repository | https://github.com/vremyavnikuda/go-analyzer-rs |
| max_upload_size | |
| id | 1812713 |
| size | 226,251 |
A high-performance Language Server Protocol (LSP) implementation for Go code analysis, written in Rust. Provides real-time variable lifecycle tracking, data race detection, and advanced static analysis capabilities.

🚀 High Performance
🔍 Advanced Analysis
Install the LSP server using Cargo:
cargo install go-analyzer
This will install the go-analyzer binary to your ~/.cargo/bin directory.
The go-analyzer binary implements the Language Server Protocol and can be used with any LSP-compatible editor.
The server communicates via stdin/stdout using the LSP protocol.
Install the Go Analyzer extension from the marketplace.
The server implements the following LSP features:
goanalyzer/cursor: Analyze variable at cursor positionThe server accepts the following environment variables:
GO_ANALYZER_LOG_LEVEL: Set logging level (debug, info, warn, error)GO_ANALYZER_CACHE_SIZE: Maximum number of cached AST trees (default: 20)GO_ANALYZER_CACHE_TTL: Cache time-to-live in seconds (default: 300)git clone https://github.com/vremyavnikuda/go-analyzer-rs.git
cd go-analyzer-rs
cargo build --release
cargo test
Contributions are welcome! Please see our GitHub repository for development guidelines.
Licensed under the MIT License. See LICENSE for details.
For more information, visit the project repository.