Glossary: Go Beyond the Basics
directional channel
Also written: chan<- T, <-chan T, send-only, receive-only
A channel type limited to one direction: `chan<- T` can only send and `<-chan T` can only receive. The compiler enforces it.
Glossary: Go Beyond the Basics
Also written: chan<- T, <-chan T, send-only, receive-only
A channel type limited to one direction: `chan<- T` can only send and `<-chan T` can only receive. The compiler enforces it.