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

1
zerr 7 days ago

So akin to Erlang processes.