gobyexample/examples/channel-synchronization/channel-synchronization.sh
2012-10-18 07:17:00 -07:00

7 lines
192 B
Bash

$ go run channel-synchronization.go
working...done
# If you removed the `<- done` line from this program, the
# program would exit before the `worker` even
# started.