get value from channel golang code example
Example: golang make chan
ch <- v // Send v to channel ch.
v := <-ch // Receive from ch, and
// assign value to v.
ch <- v // Send v to channel ch.
v := <-ch // Receive from ch, and
// assign value to v.