From 4076ee15e5df11ad68018094ce8cbc7dc2556cf3 Mon Sep 17 00:00:00 2001 From: Jerry Kotas Date: Thu, 10 Oct 2019 15:38:15 -0400 Subject: [PATCH] Fixed comment in tickers.go --- examples/tickers/tickers.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/tickers/tickers.go b/examples/tickers/tickers.go index c23dd5c..d9615d3 100644 --- a/examples/tickers/tickers.go +++ b/examples/tickers/tickers.go @@ -15,8 +15,8 @@ func main() { // Tickers use a similar mechanism to timers: a // 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. + // `select` builtin on the channel to await the + // values as they arrive every 500ms. ticker := time.NewTicker(500 * time.Millisecond) done := make(chan bool)