Versions in this module Expand all Collapse all v0 v0.1.0 Jun 15, 2020 Changes in this version + const DefaultListFormat + const DefaultTableFormat + var ErrEmptyPrefix = errors.New("prefix must be non-empty") + var ErrInvalidSpecification = errors.New("specification must be a struct pointer") + func FindUnknownEnvVariablesByPrefix(prefix string, spec interface{}) ([]string, error) + func PrintUsage(spec interface{}) error + func Usagef(spec interface{}, out io.Writer, format string) error + type Decoder interface + Decode func(value string) error + type FieldUnmarshalResult struct + Err error + FieldName string + KeyName string + TypeName string + Value string + type FieldUnmarshalResults []FieldUnmarshalResult + func Unmarshal(spec interface{}) (FieldUnmarshalResults, error) + func (f FieldUnmarshalResults) PrettyPrint() + type Setter interface + Set func(value string) error