4 ms·Is the tl;dr: instead of channels, just use mutexes (and a shared state) explicitly with goroutines?by zerr 1y agoIs the tl;dr: instead of channels, just use mutexes (and a shared state) explicitly with goroutines?guilhas 1y agoUse the one that fits your problem https://go.dev/wiki/MutexOrChannel https://go.dev/wiki/MutexOrChannel But in any case you will end up using a wrapper on eitherzerr 1y agoSo akin to Erlang processes.