Merge pull request #285 from gkotas/tickers-comment
Fixed comment in tickers.go
This commit is contained in:
commit
a81002a27f
@ -15,8 +15,8 @@ func main() {
|
|||||||
|
|
||||||
// Tickers use a similar mechanism to timers: a
|
// Tickers use a similar mechanism to timers: a
|
||||||
// channel 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
|
// `select` builtin on the channel to await the
|
||||||
// the values as they arrive every 500ms.
|
// values as they arrive every 500ms.
|
||||||
ticker := time.NewTicker(500 * time.Millisecond)
|
ticker := time.NewTicker(500 * time.Millisecond)
|
||||||
done := make(chan bool)
|
done := make(chan bool)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user