Jerry Kotas
4076ee15e5
Fixed comment in tickers.go
2019-10-10 15:38:15 -04:00
Eli Bendersky
c273588521
Make multiple imports consistent with import ( ... ) style
...
Fixes #272
2019-09-06 15:20:22 -07:00
Mark McGranaghan
13b0da17de
Merge branch 'tickers'
2019-09-01 16:24:40 -07:00
Eli Bendersky
7c160440be
Use tabs as the canonical source indentation in git
...
Space conversion is done during generation only. Fixes #192
2019-06-04 07:30:58 -07:00
tschundler
ad896cc857
Update tickers.go to not leak goroutine
...
The code in the example will leak a goroutine because ticker.Stop() does not close ticker.C.
There is no way to close ticker.C, so `for _ := range ticker` is not a generally safe example for using a ticker.
2018-10-17 13:52:04 -07:00
Mark McGranaghan
01a5f6de68
Use more idiomatic <int> * <const> for intervals
2018-02-09 14:16:57 -08:00
Mark McGranaghan
a4d9d2f5db
Use 1600ms to avoid racing
2015-08-29 17:12:44 -07:00
Mark McGranaghan
08345afa06
typo
2012-10-12 07:17:31 -07:00
Mark McGranaghan
c489746ec7
publish slices, tweak surrounding
2012-10-10 21:53:51 -07:00
Mark McGranaghan
8daa226a48
lean into examples
2012-10-09 21:02:12 -07:00