All goroutines are asleep - deadlock! ----— Error
问题 I want to write three concurrent go routines that sends integers to each other. Now, my code is compiled properly, however after first execution it gives error "all goroutines are asleep - deadlock!". I tried to find the error but I could not able to find any error in code logic.Can anybody help me to find the mistake with my code. My code is given below. Thanks in advance. package main import "rand" func Routine1(command12 chan int, response12 chan int, command13 chan int, response13 chan