Package envconfig implements decoding of environment variables based on a user defined specification. A typical use is using environment variables for configuration settings.
const ( DefaultListFormat = "" /* 284 byte string literal not displayed */ DefaultTableFormat = "" /* 258 byte string literal not displayed */ )
ErrInvalidSpecification indicates that a specification is of the wrong type.
CheckDisallowed checks that no environment variables with the prefix are set that we don't know how or want to parse. This is likely only meaningful with a non-empty prefix.
MustProcess is the same as Process but panics if an error occurs
Process populates the specified struct based on environment variables
Usage writes usage information to stderr using the default header and table format
Usagef writes usage information to the specified io.Writer using the specifed template specification
Usaget writes usage information to the specified io.Writer using the specified template
Decoder has the same semantics as Setter, but takes higher precedence. It is provided for historical compatibility.
A ParseError occurs when an environment variable cannot be converted to the type required by a struct field during assignment.
Setter is implemented by types can self-deserialize values. Any type that implements flag.Value also implements Setter.