mirror of
https://github.com/d0zingcat/gocryptotrader.git
synced 2026-06-03 07:26:45 +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:
@@ -55,7 +55,8 @@ var errSymbolIsEmpty = errors.New("symbol cannot be empty")
|
||||
// Bithumb is the overarching type across the Bithumb package
|
||||
type Bithumb struct {
|
||||
exchange.Base
|
||||
obm orderbookManager
|
||||
location *time.Location
|
||||
obm orderbookManager
|
||||
}
|
||||
|
||||
// GetTradablePairs returns a list of tradable currencies
|
||||
@@ -207,7 +208,7 @@ func (b *Bithumb) GetAccountInformation(ctx context.Context, orderCurrency, paym
|
||||
// GetAccountBalance returns customer wallet information
|
||||
func (b *Bithumb) GetAccountBalance(ctx context.Context, c string) (FullBalance, error) {
|
||||
var response Balance
|
||||
var fullBalance = FullBalance{
|
||||
fullBalance := FullBalance{
|
||||
make(map[string]float64),
|
||||
make(map[string]float64),
|
||||
make(map[string]float64),
|
||||
@@ -596,7 +597,8 @@ func (b *Bithumb) SendAuthenticatedHTTPRequest(ctx context.Context, ep exchange.
|
||||
NonceEnabled: true,
|
||||
Verbose: b.Verbose,
|
||||
HTTPDebugging: b.HTTPDebugging,
|
||||
HTTPRecording: b.HTTPRecording}, nil
|
||||
HTTPRecording: b.HTTPRecording,
|
||||
}, nil
|
||||
}, request.AuthenticatedRequest)
|
||||
if err != nil {
|
||||
return err
|
||||
|
||||
Reference in New Issue
Block a user