justforfunc #27: two ways of merging N channels
justforfunc: Programming in Go · 16:15
Francesc Campoy (JustForFunc episode 27) shows two ways to merge any number N of Go channels into one. The first starts one goroutine per input channel and uses a sync.WaitGroup to close the output at the right moment...