5 ms·
Looks good, similar to https://github.com/sourcegraph/conc https://github.com/sourcegraph/conc which we've been using for a while. Will give this a look.
by jbendotnet21 2y ago
Looks good, similar to https://github.com/sourcegraph/conc https://github.com/sourcegraph/conc which we've been using for a while. Will give this a look.
- alpb 2y agoThere are also libraries like https://github.com/Jeffail/tunny https://github.com/Jeffail/tunny or https://pkg.go.dev/go.uber.org/goleak https://pkg.go.dev/go.uber.org/goleak or https://github.com/fatih/semgroup https://github.com/fatih/semgroup to help deal with concurrency limits and goroutine lifecycle management. As the author of https://github.com/ahmetb/go-linq https://github.com/ahmetb/go-linq, it's hard to find adoption for libraries offering "syntactic sugar" in Go, as the language culture discourages those kind of abstractions and keeping the code straightforward.