I found this article to be helpful as I am learning concurrency, however I have one slight correction as I followed your code.
In the second to last code snippet you shared, line 13 is "msg := <- ch" and should instead be "msg = <- ch", reassigning the value of msg or the code breaks.
I found this article to be helpful as I am learning concurrency, however I have one slight correction as I followed your code.
In the second to last code snippet you shared, line 13 is "msg := <- ch" and should instead be "msg = <- ch", reassigning the value of msg or the code breaks.
Hey Rob, I'm glad you found this article helpful! Thanks for pointing me to the error, it was a silly typo! will fix it right away