9. Channels Review
A Declared but Uninitialized Channel Is Nil Just Like a Slice
var s []int // s is nil
var c chan string // c is nil
var s = make([]int, 5) // s is initialized and not nil
var c = make(chan int) // c is initialized and not nilA Send to a Nil Channel Blocks Forever
var c chan string // c is nil
c <- "let's get started" // blocksA Receive from a Nil Channel Blocks Forever
var c chan string // c is nil
fmt.Println(<-c) // blocksA Send to a Closed Channel Panics
var c = make(chan int, 100)
close(c)
c <- 1 // panic: send on closed channel