justforfunc #26: why are there nil channels in Go?
0:00 · Watch on YouTube
Nil channels in Go are useful, not just a zero value that exists for completeness. Receiving from or sending to a nil channel blocks forever, so setting a channel variable to nil switches off its case in a select stat...