Versions in this module Expand all Collapse all v1 v1.1.1 Jun 5, 2019 Changes in this version + var ErrInvalidValueKind = errors.New("envconfig: invalid value kind, only works on structs") + var ErrNotAPointer = errors.New("envconfig: value is not a pointer") + var ErrUnexportedField = errors.New("envconfig: unexported field") + func Init(conf interface{}) error + func InitWithOptions(conf interface{}, opts Options) error + func InitWithOptionsAndCallback(conf interface{}, opts Options, callback func(string) string) error + func InitWithPrefix(conf interface{}, prefix string) error + type Options struct + AllOptional bool + AllowUnexported bool + LeaveNil bool + Prefix string + type Unmarshaler interface + Unmarshal func(s string) error