mirror of
https://github.com/d0zingcat/gocryptotrader.git
synced 2026-05-30 15:10:40 +00:00
Bump golangci-lint to v1.24.0, linter fixes and general code improvements (#478)
* Bump golangci-lint version, update Go version deps and generic code improvements * Fix wesbocket resp nil check and zip closures * Update pprof path
This commit is contained in:
@@ -24,8 +24,9 @@ var (
|
||||
// should not be exported as it can have large impact if used improperly
|
||||
func (o *orderStore) get() map[string][]*order.Detail {
|
||||
o.m.RLock()
|
||||
defer o.m.RUnlock()
|
||||
return o.Orders
|
||||
orders := o.Orders
|
||||
o.m.RUnlock()
|
||||
return orders
|
||||
}
|
||||
|
||||
// GetByExchangeAndID returns a specific order by exchange and id
|
||||
|
||||
Reference in New Issue
Block a user