Go (Golang) Concurrency using go routines and Channels - Simple Tutorial

preview_player
Показать описание
Here’s a simple example on how to use concurrency in Go (Golang) using go routines and channels

Previous Video about Concurrency in Go using WaitGroups

Рекомендации по теме
Комментарии
Автор

Thank you.. This was very easy to understand after watching several others this video helped take away the confusion around channels

Tabukee
Автор

Hi. When you are testing the channel size fixing it as 3, why you didn't get a deadlock error when the code reached the channel assignment inside the for loop?
If the chan is full it should error out when we try to assign another value to it, shouldn't it?

henriquealexandreh
Автор

Nice videos man, you definitely have a teacher's soul. Hey can you make one about different concurrency patterns?

wilbertopachecobatista
Автор

is channel concept like callback in javascript ?

nice video btw

hafizhabdillah
Автор

On line 19 of the code, <- results means it discards the result so that the channel can be empty and not deadlock?

cyruslok
visit shbcf.ru