polyverse / appconfig Goto Github PK
View Code? Open in Web Editor NEWEasily define configuration parameters for your app and this package will collect the values in the following order, each overriding the previous (if a value is provided): (1) code-specified default value, (2) configuration file, (3) environmental variables and (4) command-line. A more powerful alternative to Go's flag package.