Advanced Golang: Goroutines & Channels
HTML-код
- Опубликовано: 12 сен 2024
- In this video I explain how Goroutines, Channels and Wait Groups work in Golang by going through a real world example.
🌱 Check the "Golang Essentials" Playlist here: • Advanced Golang
👉 Support me on PATREON for more content like this / tiagotaquelim
📢 We're building a Discord community, come and join
/ discord
📚 Resources
Article: dave.cheney.ne...
Go Book: www.gopl.io/
Tour of Go: go.dev/tour/co...
#golang
Video titles ideas (for the algo):
Go Concurrency: Go Routines & Channels
Goroutines in Golang
Channels and Goroutines
How Goroutines work in golang
Thank you so much for showing the errors and ways things can go wrong! Very insightful! :]
Nice video🙏🏽. Also could you explain what you meant over here? I couldn’t really understand you.
You said when we use channels in this manner, what?
15:08
Thanks in advance for your explanation.
Nice work! 👍 thanks for the video!
Thanks!
Great video! Thanks
Thanks for sharing Bud.
Hey Tiago, great video man. Could you please share your theme? Or is this a custom highlighting?
Thanks! It's called Gruvebox.
@TiagoTaquelim How are we able to range over a channel after closing it? Would it add any benefit if we executed wg.Wait() and close(ch) in a separate goroutine?
Hey! wg.Wait is syncrhonous (it blocks the flow of the program) it cannot be in a goroutine.
We cannot range a closed channel, it will panic.