go-lang
Go language skill covering goroutines, channels, interfaces, error handling, modules, and testing. Use when building Go applications.
от skeletorflet★ 48 звёзд на GitHub
Установить go-lang в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
go-lang
Core Concepts
- Goroutines: lightweight threads (go keyword), multiplexed onto OS threads by the runtime scheduler
- Channels: typed conduits for goroutine communication, support buffered/unbuffered and select for multiplexing
- Interfaces: implicit satisfaction, define behavior contracts with zero dependencies between types
- Structs + Methods: value receiver vs pointer receiver, composition over inheritance via embedding
Error Handling
- errors.Is/As: error chain inspection, Is checks sentinel values, As unwraps to target type
- No exceptions: functions return error as last value, caller handles explicitly
- defer/panic/recover: cleanup resources, panic for programmer errors, recover in goroutines only
Modules & Tooling
- go mod: dependency management, semantic import versioning, module cache, checksum database
- go fmt/vet: standardized formatting and static analysis
- go build/install: fast compilation, cross-compilation with GOOS/GOARCH
Common Code Patterns
- Table-driven tests: slice of test cases with input/expected, run with t.Run subtests
- Context: deadline propagation, cancellation signals, request-scoped values through API boundaries
- Stdlib: net/http (ServeMux, Handler), encoding/json (Marshal/Unmarshal), io (Reader/Writer), sync (Mutex, WaitGroup, Map)
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл go-lang?
Go language skill covering goroutines, channels, interfaces, error handling, modules, and testing. Use when building Go applications.
Как установить скилл go-lang?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл go-lang запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
AnthropicToolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
access
AnthropicManage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
configure
AnthropicSet up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
access
AnthropicManage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…