Versions in this module Expand all Collapse all v1 v1.0.0 Oct 23, 2024 Changes in this version + const DefaultListFormat + const DefaultTableFormat + var ErrInvalidSpecification = errors.New("specification must be a struct pointer") + func CheckDisallowed(prefix string, spec interface{}) error + func MustProcess(prefix string, spec interface{}, options ...Option) + func Process(prefix string, spec interface{}, options ...Option) error + func Usage(prefix string, spec interface{}) error + func Usagef(prefix string, spec interface{}, out io.Writer, format string) error + func Usaget(prefix string, spec interface{}, out io.Writer, tmpl *template.Template) error + type Decoder interface + Decode func(value string) error + type Option func(*config) + func WithLookupEnv(lookupEnv func(key string) (string, bool)) Option + type ParseError struct + Err error + FieldName string + KeyName string + TypeName string + Value string + func (e *ParseError) Error() string + type Setter interface + Set func(value string) error