Documentation ¶ Overview ¶ Example for checking if a channel is closed. A channel actually carries two values. One for the value itself, and what if the channel is closed or not. When a channel is close it will return 0 for the value received, and false on OK, which is the second value to be received from a channel. Source Files ¶ View all Source files main.go Click to show internal directories. Click to hide internal directories.