Skip to content

csturiale/config-mgtm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

config-mgtm

config-mgtm is a wrapper on top of viper

How to use

go get github.com/csturiale/config-mgtm

Have a file yaml under assets/application/configuration/ folder named configuration.yaml Then can be used as follow

configuration.GetBool("my.path")

Per env use

Define the env environment variable like:

export env=prod

And create a file named configuration-prod.yaml

This will be merged with the base configuration.yaml

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages