Suppose I have a function which creates a goroutine and inside that goroutine, I create a channel. My question is that when we create N go routines, N separate channels will be created?
A sample code here:
func createAChannel() {
// make a channel
}
func main() {
for i := 0; i < 10; i++ {
go createAChannel()}
}