Skip to content
/ cfgo Public

Merge viper objects coming from env config files

License

Notifications You must be signed in to change notification settings

grevych/cfgo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cfgo

Configure Go apps, merge config files depending on the environment. This package mimics node-config module using Viper Viper

Requirements

  • Viper

Usage

Expected default config file:

  • config/default.yaml

Suggested config files:

  • config/local.yaml
  • config/develop.yaml
  • config/test.yaml
  • config/staging.yaml
  • config/production.yaml

NOTE: Configuration files could be in any format supported by viper

For an example, see the directory examples/:

About

Merge viper objects coming from env config files

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages