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
+3 -3
View File
@@ -1,7 +1,7 @@
package command
import (
"github.com/micro/cli"
"github.com/micro/cli/v2"
"github.com/owncloud/ocis-hello/pkg/command"
svcconfig "github.com/owncloud/ocis-hello/pkg/config"
"github.com/owncloud/ocis-hello/pkg/flagset"
@@ -10,8 +10,8 @@ import (
)
// HelloCommand is the entrypoint for the hello command.
func HelloCommand(cfg *config.Config) cli.Command {
return cli.Command{
func HelloCommand(cfg *config.Config) *cli.Command {
return &cli.Command{
Name: "hello",
Usage: "Start hello server",
Category: "Extensions",