mirror of
https://github.com/d0zingcat/gocryptotrader.git
synced 2026-06-03 15:10:49 +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:
@@ -31,7 +31,8 @@ func TestLoadCandles(t *testing.T) {
|
||||
Enabled: currency.Pairs{cp},
|
||||
AssetEnabled: true,
|
||||
ConfigFormat: ¤cy.PairFormat{Uppercase: true},
|
||||
RequestFormat: ¤cy.PairFormat{Uppercase: true}}
|
||||
RequestFormat: ¤cy.PairFormat{Uppercase: true},
|
||||
}
|
||||
tt1 := time.Now().Add(-time.Minute).Round(gctkline.OneMin.Duration())
|
||||
tt2 := time.Now().Round(gctkline.OneMin.Duration())
|
||||
interval := gctkline.OneMin
|
||||
@@ -69,7 +70,8 @@ func TestLoadTrades(t *testing.T) {
|
||||
Enabled: currency.Pairs{cp},
|
||||
AssetEnabled: true,
|
||||
ConfigFormat: ¤cy.PairFormat{Uppercase: true},
|
||||
RequestFormat: ¤cy.PairFormat{Uppercase: true}}
|
||||
RequestFormat: ¤cy.PairFormat{Uppercase: true},
|
||||
}
|
||||
interval := gctkline.OneMin
|
||||
tt1 := time.Now().Add(-time.Minute * 10).Round(interval.Duration())
|
||||
tt2 := time.Now().Round(interval.Duration())
|
||||
|
||||
Reference in New Issue
Block a user