linters: Add modernise tool check and fix issues (#2012)

* linters: Add modernise tool check and fix issues

* engine: Simplify exch.SetDefaults call and remove localWG

* CI: Revert config versions lint workflow
This commit is contained in:
Adrian Gallagher
2025-08-26 12:45:13 +10:00
committed by GitHub
parent 85403fe801
commit d5b2cf1759
22 changed files with 103 additions and 159 deletions

View File

@@ -171,7 +171,7 @@ type WebsocketFuturesAmendOrder struct {
// WebsocketFutureOrdersList defines a websocket future orders list
type WebsocketFutureOrdersList struct {
Contract currency.Pair `json:"contract,omitempty"`
Contract currency.Pair `json:"contract,omitzero"`
Asset asset.Item `json:"-"` // Only used internally for routing
Status string `json:"status"`
Limit int64 `json:"limit,omitempty"`