Provides instructions for setting up gopls, the official Go language server that offers code intelligence, refactoring, and analysis features for .go files in Claude Code.

2.1kstars250forks
|1,584 views

Skill Content

473 characters

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

Installation

Marketplace
Step 1: Add marketplace
/plugin marketplace add anthropics/claude-plugins-official
Step 2: Install plugin
/plugin install gopls-lsp@claude-plugins-official