This video introduces channels and shows how they can be used to allow goroutines to communicate with each other. Topics covered include:
creating channels
sending and receiving messages
send-only and receive-only channels
buffered channels
for...range loops with channels
closing channels
select statements
Follow me on Twitter @vansimke
For more training videos, feel free to check out my videos at
Pluralsight.com (https://www.pluralsight.com/authors/m...)
where I have courses on Go, JavaScript, and many other topics.
If you aren't familiar with Pluralsight and you want to check it out,
just let me know in the comments and I'll get you setup with a 30-day trial.