4 ms·
Since c is a chan int it can only be an int, no other type. You could directly write fmt.Println("it's an int").
by mseepgood 13y ago
Since c is a chan int it can only be an int, no other type. You could directly write fmt.Println("it's an int").