diff options
author | Ben Morrison <ben@gbmor.dev> | 2019-05-27 01:06:50 -0400 |
---|---|---|
committer | Ben Morrison <ben@gbmor.dev> | 2019-05-27 01:06:50 -0400 |
commit | daa48539f5ad8b444637f948b98996d35852b1e8 (patch) | |
tree | 60755e8b0a43b1e1d645a9221529324450974109 /init.go | |
parent | 06b4e506f0666d3f717398aa7a48d2b0106214fe (diff) | |
download | getwtxt-daa48539f5ad8b444637f948b98996d35852b1e8.tar.gz |
changed config format to yaml, commented config file
Diffstat (limited to 'init.go')
-rw-r--r-- | init.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/init.go b/init.go index 25beeed..6fd6bc8 100644 --- a/init.go +++ b/init.go @@ -81,7 +81,7 @@ func checkFlags() { func initConfig() { viper.SetConfigName("getwtxt") - viper.SetConfigType("json") + viper.SetConfigType("yml") viper.AddConfigPath(".") viper.AddConfigPath("/usr/local/getwtxt") viper.AddConfigPath("/etc") |