Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information. episode 29 (#54) Feb 20, 2018
main.go 28 (#52) Feb 6, 2018
main_test.go 28 (#52) Feb 6, 2018

Two ways of merging N channels

After the previous episode I got many questions from people wondering what was the best way to merge a dynamic number of channels into one.

Well, this is my answer, and because one answer is never enough I'm giving you two of them! One uses many goroutines, the other one reflection.

Basic Benchmarks

As a follow up to the episode, episode 28 covers how to create benchmarks.