fix lint issues (#16)

Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
This commit is contained in:
2021-02-13 01:46:16 +03:00
committed by GitHub
parent fd5ed64729
commit abb9937787
19 changed files with 108 additions and 79 deletions

View File

@@ -16,12 +16,9 @@ func (c *syncStore) syncManager() {
}
}(i, tickerAggregator, ticker)
}
for {
select {
case i := <-tickerAggregator:
println(i.index, "ticked")
c.processQueue(i.index)
}
for i := range tickerAggregator {
println(i.index, "ticked")
c.processQueue(i.index)
}
}