Hacker News new | ask | show | jobs
by dragonwriter 4703 days ago
A quit channel (that is not receive only) can be used to send back a quit message by a goroutine that only has a receive-only view of the main data channel; close() can't be called on a receive-only channel.