gobyexample/033-synchronization/synchronization.sh
Mark McGranaghan 434392e67c index work
2012-09-23 14:54:59 -07:00

7 lines
173 B
Bash

$ go run synchronization.go
Working... done
# If you commented out the `<- done` line, the
# program would exit before the `worker` even
# started.