mirror of
https://github.com/d0zingcat/gocryptotrader.git
synced 2026-06-02 23:16:51 +00:00
Replace a zero-length, non-nil slice with a nil slice (#299)
* Replace a zero-length, non-nil slice with a nil slice * Update codelingo.yaml
This commit is contained in:
committed by
Adrian Gallagher
parent
07216a4422
commit
cdab89a58a
@@ -142,7 +142,7 @@ func (i *ItBit) GetTradeHistory(currencyPair, timestamp string) (Trades, error)
|
||||
// page - [optional] page to return example 1. default 1
|
||||
// perPage - [optional] items per page example 50, default 50 max 50
|
||||
func (i *ItBit) GetWallets(params url.Values) ([]Wallet, error) {
|
||||
resp := []Wallet{}
|
||||
var resp []Wallet
|
||||
params.Set("userId", i.ClientID)
|
||||
path := fmt.Sprintf("/%s?%s", itbitWallets, params.Encode())
|
||||
|
||||
|
||||
Reference in New Issue
Block a user