From 97967cbe14363919e7225d772aa606b8263df61e Mon Sep 17 00:00:00 2001 From: Asim Aslam Date: Wed, 12 Jun 2019 12:45:42 +0100 Subject: [PATCH] move options under config --- {options => config/options}/default.go | 0 {options => config/options}/options.go | 0 proxy/grpc/grpc.go | 2 +- proxy/http/http.go | 2 +- proxy/mucp/mucp.go | 2 +- proxy/proxy.go | 2 +- store/consul/consul.go | 2 +- store/memory/memory.go | 2 +- store/options.go | 2 +- store/store.go | 2 +- 10 files changed, 8 insertions(+), 8 deletions(-) rename {options => config/options}/default.go (100%) rename {options => config/options}/options.go (100%) diff --git a/options/default.go b/config/options/default.go similarity index 100% rename from options/default.go rename to config/options/default.go diff --git a/options/options.go b/config/options/options.go similarity index 100% rename from options/options.go rename to config/options/options.go diff --git a/proxy/grpc/grpc.go b/proxy/grpc/grpc.go index bd66d96e..89f71f8b 100644 --- a/proxy/grpc/grpc.go +++ b/proxy/grpc/grpc.go @@ -10,7 +10,7 @@ import ( "github.com/micro/go-micro/client/grpc" "github.com/micro/go-micro/codec" "github.com/micro/go-micro/codec/bytes" - "github.com/micro/go-micro/options" + "github.com/micro/go-micro/config/options" "github.com/micro/go-micro/proxy" "github.com/micro/go-micro/server" ) diff --git a/proxy/http/http.go b/proxy/http/http.go index 39f10013..ebea885d 100644 --- a/proxy/http/http.go +++ b/proxy/http/http.go @@ -11,7 +11,7 @@ import ( "path" "github.com/micro/go-micro/errors" - "github.com/micro/go-micro/options" + "github.com/micro/go-micro/config/options" "github.com/micro/go-micro/proxy" "github.com/micro/go-micro/server" ) diff --git a/proxy/mucp/mucp.go b/proxy/mucp/mucp.go index 97bf9b07..ea239d45 100644 --- a/proxy/mucp/mucp.go +++ b/proxy/mucp/mucp.go @@ -9,7 +9,7 @@ import ( "github.com/micro/go-micro/client" "github.com/micro/go-micro/codec" "github.com/micro/go-micro/codec/bytes" - "github.com/micro/go-micro/options" + "github.com/micro/go-micro/config/options" "github.com/micro/go-micro/proxy" "github.com/micro/go-micro/server" ) diff --git a/proxy/proxy.go b/proxy/proxy.go index 89eb061a..bb8fcc3b 100644 --- a/proxy/proxy.go +++ b/proxy/proxy.go @@ -5,7 +5,7 @@ import ( "context" "github.com/micro/go-micro/client" - "github.com/micro/go-micro/options" + "github.com/micro/go-micro/config/options" "github.com/micro/go-micro/server" ) diff --git a/store/consul/consul.go b/store/consul/consul.go index 9fa1634f..fe937e6c 100644 --- a/store/consul/consul.go +++ b/store/consul/consul.go @@ -6,7 +6,7 @@ import ( "net" "github.com/hashicorp/consul/api" - "github.com/micro/go-micro/options" + "github.com/micro/go-micro/config/options" "github.com/micro/go-micro/store" ) diff --git a/store/memory/memory.go b/store/memory/memory.go index 4c1d6c8a..d6b23e20 100644 --- a/store/memory/memory.go +++ b/store/memory/memory.go @@ -5,7 +5,7 @@ import ( "sync" "time" - "github.com/micro/go-micro/options" + "github.com/micro/go-micro/config/options" "github.com/micro/go-micro/store" ) diff --git a/store/options.go b/store/options.go index 2f63e582..cf780a58 100644 --- a/store/options.go +++ b/store/options.go @@ -1,7 +1,7 @@ package store import ( - "github.com/micro/go-micro/options" + "github.com/micro/go-micro/config/options" ) // Set the nodes used to back the store diff --git a/store/store.go b/store/store.go index e8c17eae..e7241591 100644 --- a/store/store.go +++ b/store/store.go @@ -5,7 +5,7 @@ import ( "errors" "time" - "github.com/micro/go-micro/options" + "github.com/micro/go-micro/config/options" ) var (