Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNotStructPtr = errors.New("must be a pointer to a struct")
ErrNotStructPtr indicates a type is not a pointer to a struct.
Functions ¶
Types ¶
type InputParser ¶
type InputParser interface {
Parse(input interface{}) error
}
InputParser ...
func NewInputParser ¶
func NewInputParser(envRepository env.Repository) InputParser
NewInputParser ...
type ParseError ¶
ParseError occurs when a struct field cannot be set.
func (*ParseError) Error ¶
func (e *ParseError) Error() string
Error implements builtin errors.Error.
Click to show internal directories.
Click to hide internal directories.