Mark McGranaghan 8512815a6d Whitespace
2014-01-10 06:29:24 -08:00

11 lines
372 B
Bash

# When we run the program the `"ping"` message is
# successfully passed from one goroutine to another via
# our channel.
$ go run channels.go
ping
# By default sends and receives block until both the
# sender and receiver are ready. This property allowed
# us to wait at the end of our program for the `"ping"`
# message without having to use any other synchronization.