This commit is contained in:
Mark McGranaghan 2012-10-12 07:17:31 -07:00
parent aea5979e91
commit 08345afa06

View File

@ -12,7 +12,7 @@ import "fmt"
func main() {
// Tickers use a similar mechanism to timers: a
// chanel that is sent values. Here we'll use the
// channel that is sent values. Here we'll use the
// `range` builtin on the channel to iterate over
// the values as they arrive every 500ms.
ticker := time.NewTicker(time.Millisecond * 500)