summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'main.go')
-rw-r--r--main.go10
1 files changed, 8 insertions, 2 deletions
diff --git a/main.go b/main.go
index ce06c97..76343eb 100644
--- a/main.go
+++ b/main.go
@@ -11,12 +11,18 @@ const (
)
func main() {
- go notificate()
+ // TODO: do I need to bootstrap the provider?
+ conf, err := parseConfig()
+ if err != nil {
+ log.Fatal(err)
+ }
+
+ go notificate(conf)
b, err := bitmask.Init()
if err != nil {
log.Fatal(err)
}
- run(b)
+ run(b, conf)
}