Channels
Make a channel
channel := make(chan int)
Take a value from the channel
num := <- channel
Check if channel is closed
num, ok := <- channel
Tick returns a channel
channel := time.Tick(1 * time.Second)
Slide 8
Slide 8 text
Goroutines
Launch a function
go someFunc()
Anonymous function
go func() {
}()
Slide 9
Slide 9 text
Select
Wait on multiple channels
select {
case <-ticker:
/
/ do this
case event := <-robot.Events:
/
/ do that
}