Glossary: Go Beyond the Basics
channel
Also written: channels, chan T
A typed pipe that goroutines use to send values to each other. `chan int` carries `int`s, and a send and a receive are needed for each hand-over.
Glossary: Go Beyond the Basics
Also written: channels, chan T
A typed pipe that goroutines use to send values to each other. `chan int` carries `int`s, and a send and a receive are needed for each hand-over.