summaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2019-02-09 18:24:17 +0100
committerChristian Pointner <equinox@spreadspace.org>2019-02-09 18:24:17 +0100
commit10f0d35111196e188a2071f640509af2649138fc (patch)
tree599dda3d434ea3b3ee3d205e737259a46b34cc21 /cmd
parentadded basic scaffolding for new go app (diff)
fix basic scaffolding
Diffstat (limited to 'cmd')
-rw-r--r--cmd/dolmetschctl/dolmetschctl.go4
-rw-r--r--cmd/dolmetschctld/dolmetschctld.go6
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)
}