On Thu, May 22, 2025 at 10:46 AM Jan Mercl <0xj...@gmail.com> wrote:
> On Thu, May 22, 2025 at 10:15 AM natxo....@gmail.com > <natxo.ase...@gmail.com> wrote: > > > fatal error: all goroutines are asleep - deadlock! > > Something like this? https://go.dev/play/p/4mWJOZd9hgz > This works beautiflly, thanks! So adding the whole list of files to the waitgroup first, instead of just 1, no doneCh, but finishing the wg in the select loop, interesting. Thanks! -- -- Groeten, natxo -- 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. To view this discussion visit https://groups.google.com/d/msgid/golang-nuts/CAHBEJzUSjWNDHH7A-KKfVNGL-e6G5z3t4ZV%3DZ6C7KOnZ-HZBOQ%40mail.gmail.com.