go-expert

Installation
SKILL.md

Go Expert — Gotchas & Decisions

Use Context7 for Go framework docs.

Key Decisions

decisions[4]{choice,use_when}:
  Gin vs Echo vs Fiber,"Gin: most popular/stable. Echo: cleaner API. Fiber: highest perf (Express-like)"
  Interface location,"Define in CONSUMER package not provider. Accept interfaces return structs"
  Channel vs Mutex,"Channel for communication between goroutines. Mutex for protecting shared memory"
  Table-driven vs subtests,"Table-driven for input variations. Subtests (t.Run) for distinct scenarios"

Gotchas

  • err != nil check EVERY error return — never ignore with _
  • %w for wrapping errors (unwrappable), %v for formatting only (not unwrappable)
  • Goroutine leak: always ensure goroutines can exit (context cancellation, done channels)
Related skills
Installs
11
GitHub Stars
17
First Seen
Jan 25, 2026