diff options
Diffstat (limited to 'conf/conf.go')
| -rw-r--r-- | conf/conf.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/conf/conf.go b/conf/conf.go index b9dadcd..d135fcb 100644 --- a/conf/conf.go +++ b/conf/conf.go @@ -13,6 +13,7 @@ type Conf struct { } func Load() *Conf { + filepath := os.Getenv("NEWSSTAND_CONFIG_PATH") if filepath == "" { workingdir, err := os.Getwd() @@ -28,7 +29,7 @@ func Load() *Conf { if err != nil { log.Fatalln(err) } - log.Println(c) + log.Println(c.DbAdapter) return &c } |
