diff options
-rw-r--r-- | cmd/dolmetschctl/dolmetschctl.go | 4 | ||||
-rw-r--r-- | cmd/dolmetschctld/dolmetschctld.go | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/cmd/dolmetschctl/dolmetschctl.go b/cmd/dolmetschctl/dolmetschctl.go index ea51762..2f7218e 100644 --- a/cmd/dolmetschctl/dolmetschctl.go +++ b/cmd/dolmetschctl/dolmetschctl.go @@ -26,13 +26,13 @@ import ( "log" "os" - "spreadspace.org/dolmetschctl/controller" + "spreadspace.org/dolmetschctl/pkg/controller" ) func main() { log.Println("hello world.") - c, err := controller.NewController(mixer.Config{"dolmetsch controller"}) + c, err := controller.NewController(controller.Config{"dolmetsch controller"}) if err != nil { log.Println("Error opening the controller: %v", err) os.Exit(1) diff --git a/cmd/dolmetschctld/dolmetschctld.go b/cmd/dolmetschctld/dolmetschctld.go index 346b6fc..be9abd0 100644 --- a/cmd/dolmetschctld/dolmetschctld.go +++ b/cmd/dolmetschctld/dolmetschctld.go @@ -26,7 +26,7 @@ import ( "log" "os" - "spreadspace.org/dolmetschctl/mixer" + "spreadspace.org/dolmetschctl/pkg/mixer" ) func main() { @@ -37,9 +37,9 @@ func main() { log.Println("Error opening the mixer: %v", err) os.Exit(1) } - defer c.Shutdown() + defer m.Shutdown() - if err = c.Init(); err != nil { + if err = m.Init(); err != nil { log.Println("Error initializeing the mixer: %v", err) os.Exit(1) } |