From c350e19552d36c71c9051189267b0a10842e2c61 Mon Sep 17 00:00:00 2001 From: Asim Aslam Date: Fri, 21 Jun 2019 13:36:11 +0100 Subject: [PATCH] Move cmd => config/cmd --- api/handler/http/http_test.go | 2 +- api/router/options.go | 2 +- {cmd => config/cmd}/cmd.go | 0 {cmd => config/cmd}/options.go | 0 config/source/cli/cli.go | 2 +- config/source/cli/cli_test.go | 2 +- options.go | 2 +- service.go | 2 +- 8 files changed, 6 insertions(+), 6 deletions(-) rename {cmd => config/cmd}/cmd.go (100%) rename {cmd => config/cmd}/options.go (100%) diff --git a/api/handler/http/http_test.go b/api/handler/http/http_test.go index 37f3f2f1..78c135b6 100644 --- a/api/handler/http/http_test.go +++ b/api/handler/http/http_test.go @@ -11,7 +11,7 @@ import ( "github.com/micro/go-micro/api/handler" "github.com/micro/go-micro/api/router" regRouter "github.com/micro/go-micro/api/router/registry" - "github.com/micro/go-micro/cmd" + "github.com/micro/go-micro/config/cmd" "github.com/micro/go-micro/registry" "github.com/micro/go-micro/registry/memory" ) diff --git a/api/router/options.go b/api/router/options.go index f41499a3..7285c74d 100644 --- a/api/router/options.go +++ b/api/router/options.go @@ -3,7 +3,7 @@ package router import ( "github.com/micro/go-micro/api/resolver" "github.com/micro/go-micro/api/resolver/micro" - "github.com/micro/go-micro/cmd" + "github.com/micro/go-micro/config/cmd" "github.com/micro/go-micro/registry" ) diff --git a/cmd/cmd.go b/config/cmd/cmd.go similarity index 100% rename from cmd/cmd.go rename to config/cmd/cmd.go diff --git a/cmd/options.go b/config/cmd/options.go similarity index 100% rename from cmd/options.go rename to config/cmd/options.go diff --git a/config/source/cli/cli.go b/config/source/cli/cli.go index 86b27f10..362ea79f 100644 --- a/config/source/cli/cli.go +++ b/config/source/cli/cli.go @@ -9,7 +9,7 @@ import ( "github.com/imdario/mergo" "github.com/micro/cli" - "github.com/micro/go-micro/cmd" + "github.com/micro/go-micro/config/cmd" "github.com/micro/go-micro/config/source" ) diff --git a/config/source/cli/cli_test.go b/config/source/cli/cli_test.go index ada1a0d6..8e1b743c 100644 --- a/config/source/cli/cli_test.go +++ b/config/source/cli/cli_test.go @@ -6,7 +6,7 @@ import ( "testing" "github.com/micro/cli" - "github.com/micro/go-micro/cmd" + "github.com/micro/go-micro/config/cmd" "github.com/micro/go-micro/config/source" ) diff --git a/options.go b/options.go index 4012bb49..b1eca164 100644 --- a/options.go +++ b/options.go @@ -7,7 +7,7 @@ import ( "github.com/micro/cli" "github.com/micro/go-micro/broker" "github.com/micro/go-micro/client" - "github.com/micro/go-micro/cmd" + "github.com/micro/go-micro/config/cmd" "github.com/micro/go-micro/registry" "github.com/micro/go-micro/selector" "github.com/micro/go-micro/server" diff --git a/service.go b/service.go index 6b7c6508..01c82e9c 100644 --- a/service.go +++ b/service.go @@ -7,7 +7,7 @@ import ( "syscall" "github.com/micro/go-micro/client" - "github.com/micro/go-micro/cmd" + "github.com/micro/go-micro/config/cmd" "github.com/micro/go-micro/metadata" "github.com/micro/go-micro/server" )