toss config struct around

This commit is contained in:
A.Unger
2020-02-04 10:16:12 +01:00
parent 7431297a1c
commit 2ff87de71f
3 changed files with 7 additions and 3 deletions
+4 -2
View File
@@ -4,9 +4,11 @@ import (
"os"
"github.com/micro/cli/v2"
"github.com/owncloud/ocis-accounts/pkg/config"
"github.com/owncloud/ocis-hello/pkg/version"
// init store manager
_ "github.com/owncloud/ocis-accounts/pkg/store"
"github.com/owncloud/ocis-hello/pkg/version"
)
// Execute is the entry point for the ocis-accounts command.
@@ -24,7 +26,7 @@ func Execute() error {
},
Commands: []*cli.Command{
Server(),
Server(config.New()),
},
}