To create an int channel in Go, you can use the built-in make function and specify the channel's type as chan int.
main.go28 chars2 lines
This will create a channel of type chan int that can be used to send and receive integer values between Go routines.
gistlibby LogSnag