mirror of
https://github.com/d0zingcat/gocryptotrader.git
synced 2026-05-31 07:26:44 +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:
@@ -49,6 +49,11 @@ func (b *Bithumb) SetDefaults() {
|
||||
log.Errorln(log.ExchangeSys, err)
|
||||
}
|
||||
|
||||
b.location, err = time.LoadLocation("Asia/Seoul")
|
||||
if err != nil {
|
||||
log.Errorf(log.ExchangeSys, "Bithumb unable to load time location: %s", err)
|
||||
}
|
||||
|
||||
b.Features = exchange.Features{
|
||||
Supports: exchange.FeaturesSupported{
|
||||
REST: true,
|
||||
@@ -146,11 +151,6 @@ func (b *Bithumb) Setup(exch *config.Exchange) error {
|
||||
return err
|
||||
}
|
||||
|
||||
location, err = time.LoadLocation("Asia/Seoul")
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
ePoint, err := b.API.Endpoints.GetURL(exchange.WebsocketSpot)
|
||||
if err != nil {
|
||||
return err
|
||||
|
||||
Reference in New Issue
Block a user