package
0.0.0-20231205120040-70658e098665
Repository: https://github.com/vladsaioc/common-goroutine-leak-patterns.git
Documentation: pkg.go.dev

# Functions

DoubleSend incoming channel must send a message (incoming error simulates an error generated internally).
EarlyReturn demonstrates a common pattern of goroutine leaks.
FixedDoubleSend incoming channel must send a message (incoming error simulates an error generated internally).
FixedEarlyReturn demonstrates how to avoid the leak.
No description provided by the author
No description provided by the author
Process a number of items.
A context is provided to short-circuit evaluation.