Channels and select / Closing channels / Essential Go
package main
import (
"fmt"
)
func main() {
ch := make(chan string)
close(ch)
v := <-ch
fmt.Printf("Receive from closed channel immediately returns zero value of the type: %#v\n", v)
}INFO