update micro deps to v2

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
This commit is contained in:
Jörn Friedrich Dreyer
2020-02-11 10:33:18 +01:00
parent 06ef8d528b
commit c2c12fd655
31 changed files with 305 additions and 190 deletions
+5 -5
View File
@@ -1,13 +1,13 @@
package runtime
import (
"github.com/micro/cli"
"github.com/micro/go-micro/config/cmd"
"github.com/owncloud/ocis-pkg/log"
"github.com/micro/cli/v2"
"github.com/micro/go-micro/v2/config/cmd"
"github.com/owncloud/ocis-pkg/v2/log"
)
// Command adds micro runtime commands to the cli app
func Command(app *cli.App) cli.Command {
func Command(app *cli.App) *cli.Command {
command := cli.Command{
Name: "micro",
Description: "starts the go-micro runtime services",
@@ -27,5 +27,5 @@ func Command(app *cli.App) cli.Command {
return nil
},
}
return command
return &command
}
+2 -2
View File
@@ -1,8 +1,8 @@
package runtime
import (
gorun "github.com/micro/go-micro/runtime"
"github.com/owncloud/ocis-pkg/log"
gorun "github.com/micro/go-micro/v2/runtime"
"github.com/owncloud/ocis-pkg/v2/log"
)
// Options is a runtime option
+15 -15
View File
@@ -5,21 +5,21 @@ import (
"os/signal"
"syscall"
"github.com/micro/cli"
gorun "github.com/micro/go-micro/runtime"
"github.com/micro/micro/api"
"github.com/micro/micro/broker"
"github.com/micro/micro/health"
"github.com/micro/micro/monitor"
"github.com/micro/micro/proxy"
"github.com/micro/micro/registry"
"github.com/micro/micro/router"
"github.com/micro/micro/runtime"
"github.com/micro/micro/server"
"github.com/micro/micro/store"
"github.com/micro/micro/tunnel"
"github.com/micro/micro/web"
"github.com/owncloud/ocis-pkg/log"
"github.com/micro/cli/v2"
gorun "github.com/micro/go-micro/v2/runtime"
"github.com/micro/micro/v2/api"
"github.com/micro/micro/v2/broker"
"github.com/micro/micro/v2/health"
"github.com/micro/micro/v2/monitor"
"github.com/micro/micro/v2/proxy"
"github.com/micro/micro/v2/registry"
"github.com/micro/micro/v2/router"
"github.com/micro/micro/v2/runtime"
"github.com/micro/micro/v2/server"
"github.com/micro/micro/v2/store"
"github.com/micro/micro/v2/tunnel"
"github.com/micro/micro/v2/web"
"github.com/owncloud/ocis-pkg/v2/log"
)
// OwncloudNamespace is the base path for micro' services to use