我們也可以設置有緩衝的(buffered) channel,buffered channel 有固定的大小,這樣就不需等待其他的goroutine,可以直接傳送資料。 package main import ( "log" "os" " ...
確定! 回上一頁