1.5.6 关于控制并发执行的 Goroutine 最大数量的代码示例是否有误

作者: JabinGP创建于 2020年4月8日更新于 2024年1月18日

The code does not provide a definition for the work variable, and I personally guess that it is an array of functions, as follows:

内容来源: chai2010/advanced-go-programming-book