From gopls
Gopls language server for Go — diagnostics, type checking, find references, and navigation for .go files.
Ships in gopls. Installing the plugin adds it to Claude Code.
This LSP server requires gopls to be installed on your system. Make sure it's available in your PATH before enabling.
Copy this JSON into your .lsp.json to enable this server
Add to your .lsp.json or plugin.json:
{
"lspServers": {
"go": {
"command": "gopls",
"extensionToLanguage": {
".go": "go"
}
}
}
}File extensions mapped to language identifiers
Server configuration and transport parameters
goplsstdioInitialization options and workspace settings
7-day visitors to each server page
npx claudepluginhub boostvolt/claude-code-lsps --plugin gopls