From e761aa19407a8377ba1f776052e0c38389a6a543 Mon Sep 17 00:00:00 2001 From: Asim Aslam Date: Wed, 9 Dec 2020 18:07:01 +0000 Subject: [PATCH] move cmd --- {config/cmd => cmd}/cmd.go | 0 {config/cmd => cmd}/options.go | 0 config/source/cli/cli.go | 2 +- config/source/cli/cli_test.go | 2 +- options.go | 2 +- plugin/default.go | 2 +- service.go | 2 +- 7 files changed, 5 insertions(+), 5 deletions(-) rename {config/cmd => cmd}/cmd.go (100%) rename {config/cmd => cmd}/options.go (100%) diff --git a/config/cmd/cmd.go b/cmd/cmd.go similarity index 100% rename from config/cmd/cmd.go rename to cmd/cmd.go diff --git a/config/cmd/options.go b/cmd/options.go similarity index 100% rename from config/cmd/options.go rename to cmd/options.go diff --git a/config/source/cli/cli.go b/config/source/cli/cli.go index 30e1adaf..6c065cb5 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/v2" - "github.com/micro/go-micro/v2/config/cmd" + "github.com/micro/go-micro/v2/cmd" "github.com/micro/go-micro/v2/config/source" ) diff --git a/config/source/cli/cli_test.go b/config/source/cli/cli_test.go index 70b1d4dd..68458aa3 100644 --- a/config/source/cli/cli_test.go +++ b/config/source/cli/cli_test.go @@ -8,7 +8,7 @@ import ( "github.com/micro/cli/v2" "github.com/micro/go-micro/v2" "github.com/micro/go-micro/v2/config" - "github.com/micro/go-micro/v2/config/cmd" + "github.com/micro/go-micro/v2/cmd" "github.com/micro/go-micro/v2/config/source" ) diff --git a/options.go b/options.go index e807e496..b2342a23 100644 --- a/options.go +++ b/options.go @@ -10,7 +10,7 @@ import ( "github.com/micro/go-micro/v2/client" "github.com/micro/go-micro/v2/client/selector" "github.com/micro/go-micro/v2/config" - "github.com/micro/go-micro/v2/config/cmd" + "github.com/micro/go-micro/v2/cmd" "github.com/micro/go-micro/v2/debug/profile" "github.com/micro/go-micro/v2/debug/trace" "github.com/micro/go-micro/v2/registry" diff --git a/plugin/default.go b/plugin/default.go index 794f8622..47080c68 100644 --- a/plugin/default.go +++ b/plugin/default.go @@ -14,7 +14,7 @@ import ( "github.com/micro/go-micro/v2/broker" "github.com/micro/go-micro/v2/client" "github.com/micro/go-micro/v2/client/selector" - "github.com/micro/go-micro/v2/config/cmd" + "github.com/micro/go-micro/v2/cmd" "github.com/micro/go-micro/v2/registry" "github.com/micro/go-micro/v2/server" "github.com/micro/go-micro/v2/transport" diff --git a/service.go b/service.go index c8fe4c76..440939f4 100644 --- a/service.go +++ b/service.go @@ -9,7 +9,7 @@ import ( "github.com/micro/go-micro/v2/auth" "github.com/micro/go-micro/v2/client" - "github.com/micro/go-micro/v2/config/cmd" + "github.com/micro/go-micro/v2/cmd" "github.com/micro/go-micro/v2/debug/service/handler" "github.com/micro/go-micro/v2/debug/stats" "github.com/micro/go-micro/v2/debug/trace"