mirror of
https://github.com/gopl-zh/gopl-zh.github.com.git
synced 2025-11-28 13:11:58 +00:00
fix typo
This commit is contained in:
@@ -64,7 +64,7 @@ func main() {
|
||||
```
|
||||
|
||||
|
||||
下面这个例子更微秒。ch这个channel的buffer大小是1,所以会交替的为空或为满,所以只有一个case可以进行下去,无论i是奇数或者偶数,它都会打印0 2 4 6 8。
|
||||
下面这个例子更微妙。ch这个channel的buffer大小是1,所以会交替的为空或为满,所以只有一个case可以进行下去,无论i是奇数或者偶数,它都会打印0 2 4 6 8。
|
||||
|
||||
```go
|
||||
ch := make(chan int, 1)
|
||||
|
||||
Reference in New Issue
Block a user