2012-11-23 20:43:21 +01:00

8 lines
249 B
Bash

# When we run this program the ticker should tick 3 times
# before we stop it.
$ go run tickers.go
Tick at 2012-09-23 11:29:56.487625 -0700 PDT
Tick at 2012-09-23 11:29:56.988063 -0700 PDT
Tick at 2012-09-23 11:29:57.488076 -0700 PDT
Ticker stopped