/02. aio-golang-mastery
PLUGINSInstall:
/plugin install aio-golang-mastery@aiocean-plugins·v1.1.3
aio-golang-mastery
Production-grade Go development skill covering everything you need to write idiomatic, maintainable Go code.
Install
/plugin install aio-golang-mastery@aiocean-plugins
What It Covers
- Naming & style — MixedCaps, initialisms, package naming, import organization
- Error handling — wrapping with
%w, sentinel errors, custom types, handle-once rule - Concurrency — worker pools, errgroup, fan-out/fan-in, pipelines, goroutine leak prevention
- Interfaces — small interfaces, functional options, dependency injection, composition
- Generics — type constraints, generic data structures, ResultT, iterators (Go 1.23+)
- Testing — TDD, table-driven tests, benchmarks, fuzzing, mocking, golden files
- Project structure — standard layout, go.mod, go.work, Dockerfile, Makefile
- Production hardening — graceful shutdown, slog, rate limiting, circuit breaker, health checks
- gRPC — protobuf design, interceptors, streaming, bufconn testing
- Static analysis — govulncheck, nilaway, deadcode, golangci-lint, complexity tools
Based On
- Google Go Style Guide
- Uber Go Style Guide
- Effective Go
- Updated for Go 1.25
Skills (1)
- aio-golang-mastery — Write, review, and lint Go code. Lint mode runs go build, go vet, golangci-lint, govulncheck, nilaway, deadcode, and race detection, then applies idiomatic fixe…