Select Statement

This lesson will introduce you to multi-way concurrent control in Go: the select statement.

The select statement blocks the code and waits for multiple channel opera­tions simul­taneously.

Syntax

The syntax for the select statement is as follows:

Get hands-on with 1200+ tech skills courses.