coinbase.go
func (c Client) GetOrders(page int) (*orders, error) {
	holder := ordersHolder{}
	params := map[string]int{
		"page": page,
	}
	if err := c.Get("orders", params, &holder); err != nil {
		return nil, err
	}
	orders := orders{
		paginationStats: holder.paginationStats,
	}
	// Remove one layer of nesting
	for _, o := range holder.Orders {
		orders.Orders = append(orders.Orders, o.Order)
	}
	return &orders, nil
}
func (c Client) GetOrders(page int) (*orders, error) {
	holder := ordersHolder{}
	params := map[string]int{
		"page": page,
	}
	if err := c.Get("orders", params, &holder); err != nil {
		return nil, err
	}
	orders := orders{
		paginationStats: holder.paginationStats,
	}
	// Remove one layer of nesting
	for _, o := range holder.Orders {
		orders.Orders = append(orders.Orders, o.Order)
	}
	return &orders, nil
}
// GetOrders gets orders associated with an account