mirror of
https://github.com/d0zingcat/gocryptotrader.git
synced 2026-05-13 15:09:42 +00:00
qa/spelling: Add Codespell support (#1121)
* Add codespell support * Fix paths * Add HTML files to exclusion list
This commit is contained in:
@@ -652,7 +652,7 @@ func (db *DBService) createSQLiteDataHistoryJobResponse(result *sqlite3.Datahist
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
te, err := time.Parse(time.RFC3339, result.EndTime)
|
||||
tEnd, err := time.Parse(time.RFC3339, result.EndTime)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
@@ -709,7 +709,7 @@ func (db *DBService) createSQLiteDataHistoryJobResponse(result *sqlite3.Datahist
|
||||
Base: result.Base,
|
||||
Quote: result.Quote,
|
||||
StartDate: ts,
|
||||
EndDate: te,
|
||||
EndDate: tEnd,
|
||||
Interval: int64(result.Interval),
|
||||
RequestSizeLimit: int64(result.RequestSize),
|
||||
DataType: int64(result.DataType),
|
||||
|
||||
@@ -209,7 +209,7 @@ func tradeSQLTester(t *testing.T) {
|
||||
t.Error(err)
|
||||
}
|
||||
if len(v) != 0 {
|
||||
t.Errorf("should all be ded %v", v)
|
||||
t.Errorf("should all be dead %v", v)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user