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
Transcript
Play full episode

Remember Everything You Learn from Podcasts

Save insights instantly, chat with episodes, and build lasting knowledge - all powered by AI.
App store bannerPlay store banner