viperfile Preconfigured Viper for reading file config go get github.com/ttgint/viperfile or dep ensure -add github.com/ttgint/viperfile then viperfile.ReadLocal("config", &Config) where Config is a pointer to the struct that the config will be bound