2min chapter

Go Time: Golang, Software Engineering cover image

Scott Mansfield on Go at Netflix

Go Time: Golang, Software Engineering

CHAPTER

How to Block Forever in Gophers

So a while ago we were talking in the gophers slack about this and I mentioned like ways to block forever. And then other people started piling and adding suggestions and other things which was kind of funny because there was just 10 or more. There was quite a few and I actually have one that's missing. But yeah the one that I remember not being on the list is a nil channel will also block forever. So if you try to send or receive on a nil channel it will block forever. Well nowadays you don't even have to do that right because editor plugins. Yeah them go.

00:00

Get the Snipd
podcast app

Unlock the knowledge in podcasts with the podcast player of the future.
App store bannerPlay store banner

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode

Save any
moment

Hear something you like? Tap your headphones to save it with AI-generated key takeaways

Share
& Export

Send highlights to Twitter, WhatsApp or export them to Notion, Readwise & more

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode