From 7e30794a8081e42166fefe7607909024832f072b Mon Sep 17 00:00:00 2001 From: Samuel Reid <43227667+cranktakular@users.noreply.github.com> Date: Tue, 3 Sep 2024 13:18:24 +1000 Subject: [PATCH] Lint fix --- exchanges/coinbasepro/coinbasepro_types.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/exchanges/coinbasepro/coinbasepro_types.go b/exchanges/coinbasepro/coinbasepro_types.go index b5bb8ebb1c7..f0f66aa227d 100644 --- a/exchanges/coinbasepro/coinbasepro_types.go +++ b/exchanges/coinbasepro/coinbasepro_types.go @@ -298,12 +298,13 @@ type EditOrderPreviewResp struct { AverageFilledPrice float64 `json:"average_filled_price,string"` } +// SingleOrder provides information on an order in a format that the exchange provides for the GetOrderByID function type SingleOrder struct { Order GetOrderResponse `json:"order"` } -// GetOrderResponse contains information on an order, returned by GetOrderByID -// and IterativeGetAllOrders, and used in GetAllOrdersResp +// GetOrderResponse contains information on an order, returned by GetOrderByID IterativeGetAllOrders, and used in +// GetAllOrdersResp type GetOrderResponse struct { OrderID string `json:"order_id"` ProductID string `json:"product_id"`