原书出处
Cloud Native Go (Matthew A. Titmus)
04 Cloud Native Patterns
For each channel in sources, Funnel starts a separate goroutine that reads values from its assigned source and forwards them to dest, a single output channel shared by all of the goroutines. Note the use of a sync.WaitGroup, which is used in a separate goroutine to close the dest channel after all of the sources
原书定位详情
来源:a19c7933-4eda-4176-aebd-30fe7e1ad292
正文位置:extracted/Cloud Native Go (Matthew A. Titmus)/_epub-src/OEBPS/ch04.xhtml
EPUB SHA-256:1154caa7b61465daf957a7d8f1350ef24ab5db9c850cab5987aae5bc74986022