I wrote something up for a personal project and I thought this might be useful to some of you:
https://github.com/brunoga/workerpool This tries to simplify executing the same task of a set of items in parallel. It does all the expected stuff from this kind of library and also accepts a context which allows easy task cancellations (via a timeout or explicit cancellation). Let me know in case you find it useful. -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.