[[2021-07-01_Thu]] #golang [[Go言語による並行処理]]を読んでいて、はじめてチャネルを送信専用か受信専用かを型の宣言で表現できることを知った。 - read-only: `pings <-chan string` - write-only: `pings chan<- string` [Go by Example: Channel Directions](https://gobyexample.com/channel-directions)