Back to Plugins

Go LSP (gopls)

Go language server with module resolution and interface checks. Real-time diagnostics, code navigation, and refactoring support for Go development.

gogolanglspofficial

Installation

claude plugins add gopls-lsp@claude-plugins-official

Configuration

{
  "enabledPlugins": {
    "gopls-lsp@claude-plugins-official": true
  }
}

Commands

go-checkRun go vet and staticcheck
go-modManage Go modules and dependencies
go-testRun Go tests with coverage

How to install

  1. Open Claude Code in your terminal
  2. Run the installation command above
  3. The plugin will be enabled automatically
  4. Use the plugin's features in your Claude Code sessions
View source on GitHub