aboutsummaryrefslogtreecommitdiff
path: root/telegabber.go
diff options
context:
space:
mode:
Diffstat (limited to 'telegabber.go')
-rw-r--r--telegabber.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/telegabber.go b/telegabber.go
index 6c17c91..d924822 100644
--- a/telegabber.go
+++ b/telegabber.go
@@ -8,9 +8,10 @@ import (
)
const CONFIG_PATH string = "config.yml"
+const SCHEMA_PATH string = "./config_schema.json"
func main() {
- config, err := config.ReadConfig(CONFIG_PATH)
+ config, err := config.ReadConfig(CONFIG_PATH, SCHEMA_PATH)
if err != nil {
log.Fatal(err)
}