Configuration loading and NATS messaging tests.

This commit is contained in:
pztrn committed 2019-05-19 14:41:03 +05:00
1 parent 1839a73717
commit 2e747d51ef
35 files changed
+8575 -18

No files matched your search

@@ -45,7 +45,10 @@ func main() {
log.Fatalln("Failed to get absolute path for output filename:", err.Error())
}
config.Load()
err = config.Load()
if err != nil {
log.Fatalln("Failed to load configuration file:", err.Error())
}
nc, err := nats.Connect(config.Cfg.NATS.ConnectionString)
if err != nil {