createWorker
中的in
管道 没传值request
能取到值 源码地址https://gitee.com/awsomehh/go_crawler
问题在scheduler
里面 地址https://gitee.com/awsomehh/go_crawler/blob/master/scheduler/queue.go
自己追踪后发现并没有向管道中传值
有疑问加站长微信联系(非本文作者)

createWorker
中的in
管道 没传值request
能取到值 源码地址https://gitee.com/awsomehh/go_crawler
问题在scheduler
里面 地址https://gitee.com/awsomehh/go_crawler/blob/master/scheduler/queue.go
自己追踪后发现并没有向管道中传值
有疑问加站长微信联系(非本文作者)
入群交流(和以上内容无关):加入Go大咖交流群,或添加微信:liuxiaoyan-s 备注:入群;或加QQ群:692541889
`单行代码`
一个简单的爬虫小案例 http://topgoer.com/%E5%B9%B6%E5%8F%91%E7%BC%96%E7%A8%8B/%E7%88%AC%E8%99%AB%E5%B0%8F%E6%A1%88%E4%BE%8B.html
我知道简单的并发爬虫这个爬虫是优化过后的诶
第29行go func 方法里面肯定有把数据给q.workerChan 也就是in啊 截图截全一点啊