#5
Apr 04
Channels Are Typed Queues
A channel is a typed, goroutine-safe queue. Send with ch <- value, receive with value := <-ch. Channels can be buffered (non-blocking up to capacity) or unbuffered (sender blocks until receiver is ready). They are the idiomatic way to share data between goroutines.
By: alice_dev
Apr 04, 2026 18:39