Skip to content
Michiru Shirakawa edited this page Apr 17, 2020 · 2 revisions
han T           // can be used to send and receive values of type T
chan<- float64  // can only be used to send float64s
<-chan int      // can only be used to receive ints

Clone this wiki locally