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