mirror of
https://github.com/d0zingcat/gocryptotrader.git
synced 2026-06-06 15:10:59 +00:00
linter: Enable gofumpt and run against codebase (#1848)
* linter: Enable gofumpt and run against codebase * Address shazbert's nits * gofumpt: Fix issues after rebase
This commit is contained in:
@@ -44,7 +44,7 @@ func (by *Bybit) WsLinearConnect() error {
|
||||
// GenerateLinearDefaultSubscriptions generates default subscription
|
||||
func (by *Bybit) GenerateLinearDefaultSubscriptions() (subscription.List, error) {
|
||||
var subscriptions subscription.List
|
||||
var channels = []string{chanOrderbook, chanPublicTrade, chanPublicTicker}
|
||||
channels := []string{chanOrderbook, chanPublicTrade, chanPublicTicker}
|
||||
pairs, err := by.GetEnabledPairs(asset.USDTMarginedFutures)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
|
||||
Reference in New Issue
Block a user