博客 / 列表

天策上將 - [go] chan close

close chan close由發送端調用,在收到最後一個發送值後關閉管道(It should be executed only by the sender, never the receiver, and has the effect of shutting down the channel after the last sent value is received) close管道後,

channel , go