[Solved] How can I overlap goroutines?

[ad_1] If you need such sequencing, you might reevaluate your need to use goroutines. However, the way you described the solution is correct: go first() { for { <-ch1 // do stuff ch2<-struct{}{} } }() go second() { for { <-ch2 // do stuff ch3<-struct{}{} } }() go third() { for { <-ch3 // do … Read more