Integrates the official Go language server (`gopls`) with Gemini CLI to provide language-aware features for Go code, enhancing precision in understanding, writing, and modifying.
Sponsored
This extension significantly boosts Gemini CLI's capabilities when working with Go projects by integrating the official Go language server, `gopls`. By leveraging `gopls`'s advanced language-aware features, Gemini can perform precise Go code understanding, writing, and modification. It provides immediate diagnostics and detailed symbol relationship analysis, which dramatically improves the speed and accuracy of complex tasks like code refactoring directly within the CLI environment. This proactive error checking prevents the accumulation of syntax errors, streamlining the development process.
主要功能
01Workspace-based Go syntax error checking (`go_diagnostics`)
02Summarizes cross-file dependencies for Go files (`go_file_context`)
03Provides information on external and internal Go package APIs (`go_package_api`)
04Searches for Go symbols within the workspace (`go_search`)
05Locates references for Go symbols (`go_symbol_references`)
061 GitHub stars
使用案例
01Refactoring Go code with improved speed and accuracy
02Receiving real-time syntax error diagnostics during Go development
03Understanding Go project structure and symbol relationships through cross-file analysis