知识检查

已完成

请回答以下问题,展示你学到的知识:

知识检查

1.

创建 goroutine 的正确语法是什么?

2.

在 Go 中使用 channel 的目的是什么?

3.

无缓冲 channel 有什么特别的功能?

4.

如何将数据发送到 channel?

5.

如何从 channel 接收数据?