Documentation ¶
Overview ¶
Package envconfig implements decoding of environment variables based on a user defined specification. A typical use is using environment variables for configuration settings.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrInvalidSpecification = errors.New("invalid specification must be a struct")
ErrInvalidSpecification indicates that a specification is of the wrong type.
Functions ¶
Types ¶
type ParseError ¶
A ParseError occurs when an environment variable cannot be converted to the type required by a struct field during assignment.
func (*ParseError) Error ¶
func (e *ParseError) Error() string
Click to show internal directories.
Click to hide internal directories.