zerr 8 days ago

Is the tl;dr: instead of channels, just use mutexes (and a shared state) explicitly with goroutines?

1
guilhas 8 days ago

Use the one that fits your problem https://go.dev/wiki/MutexOrChannel

But in any case you will end up using a wrapper on either

zerr 7 days ago

So akin to Erlang processes.