Skip to content

Commit

Permalink
Lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
cranktakular committed Sep 3, 2024
1 parent 9edf0c9 commit 7e30794
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions exchanges/coinbasepro/coinbasepro_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"`
Expand Down

0 comments on commit 7e30794

Please sign in to comment.