Skip to content

Latest commit

 

History

History
15 lines (8 loc) · 408 Bytes

README.md

File metadata and controls

15 lines (8 loc) · 408 Bytes

viperfile Go Report Card

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