Learn to use goroutines and channels to build concurrent pipelines in Go. Understand the importance of handling goroutine cancellations properly to avoid leaks. Discover how to merge multiple channels and create efficient pipelines using select statements and cancel channels.

16m read timeFrom antonz.org
Post cover image
Table of contents
Leaked goroutineCancel channelCancel vs. doneMerging channels (sequentially)Merging channels (concurrently)Merging channels (select)PipelinePreventing goroutine leaksKeep it up
1 Comment

Sort: