Versions in this module Expand all Collapse all v1 v1.0.1 Oct 26, 2020 v1.0.0 Dec 10, 2019 Changes in this version + var ErrNilPointer = errors.New("the pointer should not be nil") + var ErrStructPointer = errors.New("must be a pointer to a struct") + var TagName = "env" + func Load(structPtr interface{}) error + type Loader struct + func New(prefix string, log LogFunc) *Loader + func NewWithLookup(prefix string, lookup LookupFunc, log LogFunc) *Loader + func (l *Loader) Load(structPtr interface{}) error + type LogFunc func(format string, args ...interface{}) + type LookupFunc func(name string) (string, bool) + type Setter interface + Set func(value string) error