What is the channel in Golang?
A channel is a communication medium through which a Goroutine communicates with different Goroutine and this communication is lock-free. Practically, in other words, a channel is a method that enables an individual Goroutine to send data to a different Goroutine.