← 返回卡片

原书出处

Go并发编程实战(第2版)

第2版;基于Go 1.8 · 核验版本的摘录快照 · 导入于 2026-10-25T23:49:02.879Z

: %d)... \n", httpReq.URL, req.Depth())

httpResp, err := downloader.httpClient.Do(httpReq) if err != nil { return nil, err } downloader.ModuleInternal.IncrCompletedCount() return module.NewResponse(httpResp, req.Depth()), nil }

这个方法的功能实现起来很简单,不过要注意对那4个组件计数的操作。在方法的开始处

此预览只包含定位所需的摘录和上下文。

原书定位详情

来源:a19c7933-4eda-4176-aebd-30fe7e1ad292

正文位置:extracted/Go并发编程实战(第2版)/_epub-src/OEBPS/text00000_split_010.html

EPUB SHA-256:1bfab90c1a40fd6688bc32c24e590145da7a8a0b1f82d584f0d60ef8408e277d