go

📁 grafana/loki 📅 11 days ago
27
总安装量
4
周安装量
#13470
全站排名
安装命令
npx skills add https://github.com/grafana/loki --skill go

Agent 安装分布

gemini-cli 4
github-copilot 4
codex 4
opencode 4
claude-code 3

Skill 文档

Go Programming Language

Guidelines for working effectively with Go projects.

Reading Dependency Source Files

To see source files from a dependency, or to answer questions about a dependency:

go mod download -json MODULE

Use the returned Dir path to read the source files.

Reading Documentation

Use go doc to read documentation for packages, types, functions, etc:

go doc foo.Bar       # Documentation for a specific symbol
go doc -all foo      # All documentation for a package

Running Programs

Use go run instead of go build to avoid leaving behind build artifacts:

go run .             # Run the current package
go run ./cmd/foo     # Run a specific command