mirror of
https://github.com/d0zingcat/gocryptotrader.git
synced 2026-06-04 07:26:47 +00:00
CI/build: Update Go version, linters and fix minor issues (#1612)
* CI/build: Update Go version, linters and fix minor issues * linters: Add intrange, copyloopvar, additional go vet linters to match gopls and fix issues
This commit is contained in:
@@ -100,7 +100,7 @@ func (d *Dispatcher) start(workers, channelCapacity int) error {
|
||||
d.maxWorkers = workers
|
||||
d.shutdown = make(chan struct{})
|
||||
|
||||
for i := 0; i < d.maxWorkers; i++ {
|
||||
for range d.maxWorkers {
|
||||
d.wg.Add(1)
|
||||
go d.relayer()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user