A channel moves typed values between goroutines. An unbuffered send waits for a receiver; a buffered channel lets a limited number of sends proceed first. Closing a channel says that no more values will be sent. It does not erase buffered values, and receivers can still drain them. Use the two-result receive to distinguish a sent zero from the zero value returned after a channel closes. The sender that owns completion should usually close the channel. Receivers should not close a shared channel just because they have enough data. In these tasks you will build finite producers, drain local channels and join streams. Every producer has a defined end, so a range loop can finish without a timing guess or an external service.
Preserve order and zero values.