3 ms·
Avoiding Common Sync.WaitGroup Mistakes in Go
- fainpul 1y agoThey added a `Go` method to waitgroups, which wraps a function in the usual idiom, which is convenient, but it also adds about 3 new possibilities to write bugs. I'm not convinced this was a good "simplification".