1
0
mirror of https://github.com/go-micro/go-micro.git synced 2025-01-11 17:18:28 +02:00

move cmd to util (#2527)

* move cmd to util

* go fmt
This commit is contained in:
Asim Aslam 2022-07-11 14:37:34 +01:00 committed by GitHub
parent b36949f2c1
commit 6cf2b02f0f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 5 additions and 5 deletions

View File

@ -9,8 +9,8 @@ import (
"github.com/imdario/mergo"
"github.com/urfave/cli/v2"
"go-micro.dev/v4/cmd"
"go-micro.dev/v4/config/source"
"go-micro.dev/v4/util/cmd"
)
type cliSource struct {

View File

@ -7,9 +7,9 @@ import (
"github.com/urfave/cli/v2"
"go-micro.dev/v4"
"go-micro.dev/v4/cmd"
"go-micro.dev/v4/config"
"go-micro.dev/v4/config/source"
"go-micro.dev/v4/util/cmd"
)
func TestCliSourceDefault(t *testing.T) {

View File

@ -9,7 +9,6 @@ import (
"go-micro.dev/v4/broker"
"go-micro.dev/v4/cache"
"go-micro.dev/v4/client"
"go-micro.dev/v4/cmd"
"go-micro.dev/v4/config"
"go-micro.dev/v4/debug/profile"
"go-micro.dev/v4/debug/trace"
@ -19,6 +18,7 @@ import (
"go-micro.dev/v4/server"
"go-micro.dev/v4/store"
"go-micro.dev/v4/transport"
"go-micro.dev/v4/util/cmd"
)
// Options for micro service

View File

@ -13,11 +13,11 @@ import (
"go-micro.dev/v4/broker"
"go-micro.dev/v4/client"
"go-micro.dev/v4/cmd"
"go-micro.dev/v4/registry"
"go-micro.dev/v4/selector"
"go-micro.dev/v4/server"
"go-micro.dev/v4/transport"
"go-micro.dev/v4/util/cmd"
)
// Plugin is a plugin loaded from a file

View File

@ -8,7 +8,6 @@ import (
"sync"
"go-micro.dev/v4/client"
"go-micro.dev/v4/cmd"
"go-micro.dev/v4/debug/handler"
"go-micro.dev/v4/debug/stats"
"go-micro.dev/v4/debug/trace"
@ -16,6 +15,7 @@ import (
plugin "go-micro.dev/v4/plugins"
"go-micro.dev/v4/server"
"go-micro.dev/v4/store"
"go-micro.dev/v4/util/cmd"
signalutil "go-micro.dev/v4/util/signal"
"go-micro.dev/v4/util/wrapper"
)