开始时看到这个实在没明白怎么回事

测试了下才知道原来

<-chan int  像这样的只能接收

chan<- int  像这样的只能发送

posted on 2015-04-17 15:24  浊浊然  阅读(10886)  评论(0编辑  收藏  举报