Documentation ¶
Overview ¶
Package envcfg provides environment variable mapping to structs.
Can be used to read configuration parameters from the environment.
Fields for which environment variables can be found are overwritten, otherwise they are left to their previous value.
Can be used, for example, after gcfg to override settings provided in a configuration file.
Index ¶
Constants ¶
View Source
const ( TAG = "env" ABS_TAG = "absenv" SEP = "_" )
Variables ¶
View Source
var ErrInvalidConfigStruct = errors.New("invalid parameter: must map to a struct")
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.