Go Tutorial - Learn Go from the Basics with Code Examples on golangbot.com · Mar 3, 2026
Select
0Sign in to vote or save
This page cannot be shown here. You can still read it on the original site — the toolbar below keeps your place in the directory.
Welcome to tutorial no. 24 in Golang tutorial series. What is select? The select statement is used to choose from multiple send/receive channel operations. The select statement blocks until one of the send/receive operations is ready. If multiple operations are ready, one of them is chosen at random. The syntax is similar to switch except that each of the case statements will be a channel…
Comments
Nothing yet. Say the first thing.
Sign in to join the conversation.