FanIn pattern blocks when trying to send and receive simultaneously [duplicate]
This question already has answers here: Fan-in channels to single channel (5 answers) Both receive and send in same select case [closed] (2 answers) Chained channel operations in a single `select` case (3 answers) Closed last month. package main import ( “fmt” ) func main() { even := make(chan int) odd := make(chan int) quit […]