Requirements
- Target platform
- OpenClaw
- Install method
- Manual import
- Extraction
- Extract archive
- Prerequisites
- OpenClaw
- Primary doc
- SKILL.md
Go language server (gopls) providing code intelligence, refactoring, and analysis for .go files. Use when working with Go code that needs autocomplete, go-to-definition, find references, error detection, or refactoring support.
Go language server (gopls) providing code intelligence, refactoring, and analysis for .go files. Use when working with Go code that needs autocomplete, go-to-definition, find references, error detection, or refactoring support.
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.
Go language server integration providing comprehensive code intelligence through gopls (the official Go language server).
Code intelligence: Autocomplete, go-to-definition, find references Error detection: Real-time diagnostics for compilation errors and issues Refactoring: Rename symbols, extract function, organize imports Analysis: Static analysis, code suggestions, unused code detection Supported extensions: .go
Install gopls using the Go toolchain: go install golang.org/x/tools/gopls@latest Important: Make sure $GOPATH/bin (or $HOME/go/bin) is in your PATH. Verify installation: gopls version
The language server runs automatically in LSP-compatible editors. For manual operations:
gofmt -w file.go
go vet ./...
go build ./... go test ./...
Create gopls.yaml in your project or workspace for custom settings: analyses: unusedparams: true shadow: true completeUnimported: true staticcheck: true Or configure via environment: export GOPLS_CONFIG='{"staticcheck": true, "analyses": {"unusedparams": true}}'
When editing Go code: gopls provides real-time diagnostics in LSP editors Run go fmt or gofmt to format code Use go vet for additional static analysis Run tests with go test before committing
go mod init <module> - Initialize Go module go mod tidy - Clean up dependencies go get <package> - Add dependency go build - Compile packages go run main.go - Run program go test - Run tests go vet - Report suspicious constructs
gopls Documentation GitHub Repository Go Official Documentation
Code helpers, APIs, CLIs, browser automation, testing, and developer operations.
Largest current source with strong distribution and engagement signals.