Check out example codes for "array of channels golang". It will help you in understanding the concepts better.

Code Example 1

var chans = []chan int {
   make(chan int),
   make(chan int),
   make(chan int),
   make(chan int),
   make(chan int),
}

Learn ReactJs, React Native from akashmittal.com