fix golint fail #415

This commit is contained in:
u5surf
2018-11-15 00:58:13 +09:00
parent f25351c36a
commit 27114701ba
19 changed files with 55 additions and 18 deletions
+2
View File
@@ -17,8 +17,10 @@ type Ticker struct {
ticker *time.Ticker
}
// Stop returns ticker.Stop
func (t *Ticker) Stop() { t.ticker.Stop() }
// Tick returns ticker.C
func (t *Ticker) Tick() { <-t.ticker.C }
// Retry is a wrapper around RetryWorker that provides a real RetryTicker