Skip to content

Commit

Permalink
move cmd to util (micro#2527)
Browse files Browse the repository at this point in the history
* move cmd to util

* go fmt
  • Loading branch information
asim authored Jul 11, 2022
1 parent b36949f commit 6cf2b02
Show file tree
Hide file tree
Showing 7 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion config/source/cli/cli.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion config/source/cli/cli_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
2 changes: 1 addition & 1 deletion options.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion plugins/plugin.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion service.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@ 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"
"go-micro.dev/v4/logger"
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"
)
Expand Down
File renamed without changes.
File renamed without changes.

0 comments on commit 6cf2b02

Please sign in to comment.