github.com/dyson/envvar (go): Package envvar implements environment variable parsing.  Usage:  Define environment variables using envvar.String(), Bool(), Int(), etc.  This declares an integer envvar, ENVVARNAME, stored in the pointer ip, with type *int.  If you like, you can bind the envvar to a variable using the Var() functions.  Or you can create custom envvars that satisfy the Value interface (with pointer receivers) and couple them to environment variable parsing by  For such envvars, the default value is just the initial value of the variable.  After all envvars are defined, call  to parse the environment variables into the defined envvars.  Envvars may then be used directly. If you're using the envvars themselves, they are all pointers; if you bind to variables, they're values.  Integer envvars accept 1234, 0664, 0x1234 and may be negative. Boolean envvars may be:  Duration envvars accept any input valid for time.ParseDuration.  The default set of envvars is controlled by top-level functions. The EnvVarSet type allows one to define	independent sets of envvars, which facilitates their independent parsing. The methods of EnvVarSet are	analogous to the top-level functions for the default	envvar set.
Keywords: config|env|go