README ¶ 测试close chan NOTICE job := <- jobs这个代码在chan没有close的时候,要是没有数据会阻塞。但是chan被close之后,就不会阻塞了。要注意退出循环。 运行结果 Expand ▾ Collapse ▴ Documentation ¶ There is no documentation for this package. Source Files ¶ View all Source files main.go Click to show internal directories. Click to hide internal directories.