From 966cfc751217dab2c436727263ca0f3e4930da21 Mon Sep 17 00:00:00 2001 From: Adrian Gallagher Date: Thu, 1 Mar 2018 16:11:35 +1100 Subject: [PATCH] Move orders into its own package --- orders.go => exchanges/orders/orders.go | 2 +- orders_test.go => exchanges/orders/orders_test.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename orders.go => exchanges/orders/orders.go (98%) rename orders_test.go => exchanges/orders/orders_test.go (98%) diff --git a/orders.go b/exchanges/orders/orders.go similarity index 98% rename from orders.go rename to exchanges/orders/orders.go index bf13cb1f..81b65d1d 100644 --- a/orders.go +++ b/exchanges/orders/orders.go @@ -1,4 +1,4 @@ -package main +package orders const ( limitOrder = iota diff --git a/orders_test.go b/exchanges/orders/orders_test.go similarity index 98% rename from orders_test.go rename to exchanges/orders/orders_test.go index f41fd8cf..4237165f 100644 --- a/orders_test.go +++ b/exchanges/orders/orders_test.go @@ -1,4 +1,4 @@ -package main +package orders import ( "testing"