Go

Installation
SKILL.md

Quick Reference

Topic File
Concurrency patterns concurrency.md
Interface and type system interfaces.md
Slices, maps, strings collections.md
Error handling patterns errors.md

Goroutine Leaks

  • Goroutine blocked on channel with no sender = leak forever—always ensure channel closes or use context
  • Unbuffered channel send blocks until receive—deadlock if receiver never comes
  • for range on channel loops forever until channel closed—sender must close(ch)
  • Context cancellation doesn't stop goroutine automatically—must check ctx.Done() in loop
  • Leaked goroutines accumulate memory and never garbage collect

Channel Traps

Installs
1
Repository
openclaw/skills
GitHub Stars
4.5K
First Seen
Mar 4, 2026
Go — openclaw/skills