ParentFull threadJulianMorrison·Why not close the channel instead of sending 0? You can detect a closed channel with the "x, ok := <-y" form.View on HN