aboutsummaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorNathan Perry <avaglir@gmail.com>2017-07-26 20:00:31 -0400
committerNathan Perry <avaglir@gmail.com>2017-07-26 20:00:31 -0400
commitf3224ee0eb4d5def781f5e77121a405df054bfba (patch)
treec9f0e4f864168afeb3119ece86014819bfe4b512 /cmd
parentfa3151827fa697c91802b09ae0052429e788b275 (diff)
restructure to cmd
Diffstat (limited to 'cmd')
-rw-r--r--cmd/main.go16
1 files changed, 16 insertions, 0 deletions
diff --git a/cmd/main.go b/cmd/main.go
new file mode 100644
index 0000000..a0c429b
--- /dev/null
+++ b/cmd/main.go
@@ -0,0 +1,16 @@
+package main
+
+import (
+ "log"
+
+ "github.com/mammothbane/thulani-go"
+)
+
+func main() {
+ conf, err := thulani.LoadConfig("config.yml")
+ if err != nil {
+ log.Fatal(err)
+ }
+
+ thulani.Run(conf)
+}