qa/spelling: Add Codespell support (#1121)

* Add codespell support

* Fix paths

* Add HTML files to exclusion list
This commit is contained in:
Adrian Gallagher
2023-01-30 12:36:56 +11:00
committed by GitHub
parent c785ae73a7
commit a79e0d2b3e
108 changed files with 359 additions and 318 deletions

View File

@@ -235,7 +235,7 @@ func (g *Gateio) GetSpotKline(ctx context.Context, arg KlinesRequestParams) ([]k
if err != nil {
return nil, err
}
ot, err := convert.TimeFromUnixTimestampFloat(otString)
orderType, err := convert.TimeFromUnixTimestampFloat(otString)
if err != nil {
return nil, fmt.Errorf("cannot parse Kline.OpenTime. Err: %s", err)
}
@@ -260,7 +260,7 @@ func (g *Gateio) GetSpotKline(ctx context.Context, arg KlinesRequestParams) ([]k
return nil, fmt.Errorf("cannot parse Kline.Open. Err: %s", err)
}
timeSeries[x] = kline.Candle{
Time: ot,
Time: orderType,
Volume: _vol,
Close: _close,
High: _high,