See this blog post for more interesting ways to handle goroutine
communication and synchronization:
http://nomad.uk.net/articles/interesting-ways-of-using-go-channels.html
On Wednesday, 8 August 2018 04:59:48 UTC+1, natea...@gmail.com wrote:
>
> https://play.golang.org/p/d5n9bYmya3r
>
> I'm new
Just re-organise the code a bit, try
this: https://play.golang.org/p/GMpfZlCNP9G
On Wednesday, 8 August 2018 04:59:48 UTC+1, natea...@gmail.com wrote:
>
> https://play.golang.org/p/d5n9bYmya3r
>
> I'm new to the go language and trying to figure out how to sigint a
> blocking goroutine. in the