go-concurrency-patterns
Installation
SKILL.md
Go Concurrency Patterns
Ownership transfers on send: one goroutine owns a value at a time. Unbuffered = sync point; buffered = bounded decoupling.
Channel blocking
| Op | Unbuffered | Buffered (N) |
|---|---|---|
| send | blocks until recv ready | blocks when full |
| recv | blocks until sender ready | blocks when empty |
| send on closed | panics | panics |
| recv on closed | zero, ok=false | drain, zero, ok=false |