package envconfig
import "github.com/kelseyhightower/envconfig"
Package envconfig implements decoding of environment variables based on a user defined specification. A typical use is using environment variables for configuration settings.
Index ¶
Variables ¶
ErrInvalidSpecification indicates that a specification is of the wrong type.
Functions ¶
func Process ¶
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
Source Files ¶
- Version
- v1.0.0
- Published
- Mar 15, 2014
- Platform
- js/wasm
- Imports
- 6 packages
- Last checked
- 15 hours ago –
Tools for package owners.