Versions in this module Expand all Collapse all v0 v0.1.0 Apr 30, 2020 Changes in this version + const DefaultListFormat + const DefaultTableFormat + var ErrInvalidSpecification = errors.New("specification must be a struct pointer") + func MustProcess(prefix string, spec interface{}) + func Process(prefix string, spec interface{}) error + func Unused(prefix string, spec interface{}) ([]string, 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 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