Go LSP (gopls)

Plugin

Connects Claude Code to gopls, Go's official language server, for code intelligence, refactoring and analysis. Install gopls with go install and add Go's bin directory to PATH first. Official Anthropic plugin.

anthropics/claude-plugins-official · plugins/gopls-lsp40k
GitHub で見る
README

gopls-lsp

Go language server for Claude Code, providing code intelligence, refactoring, and analysis.

Supported Extensions

.go

Installation

Install gopls using the Go toolchain:

go install golang.org/x/tools/gopls@latest

Make sure $GOPATH/bin (or $HOME/go/bin) is in your PATH.

More Information