Let me start by saying that Go Channels are GREAT! They are used for communication, allowing sending data between goroutines, and for synchronization, so that one goroutine doesn’t get ahead of another. But, how can a single data structure do all of this? Let’s go behind the scenes of Go Channels
A channel is a data type that provides us for free the following unusual and really interesting characteristics:
Using channels we convert a sequential and potential slow application into a fast, concurrent…
Senior Software Developer, Software architect, Golang enthusiastic.