Skip to content

maddevsio/simple-config

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

simple-config

Simple wrapper around viper package

#Install go get -v github.com/maddevsio/simple-config

#Usage:

config := NewSimpleConfig("./config.test", "yml")
value := config.Get("testkey")

#config.test.yaml is:

testkey: test value

To redefine "testkey" via env set TESTKEY env var

About

Simple wrapper around viper package

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages