Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrInvalidStruct = errors.New("configuration must be a struct pointer")
Functions ¶
Types ¶
type Field ¶
type Field struct { Name string EnvKey string Field reflect.Value Options FieldOptions }
Field maintains information about a field in the configuration struct.
type FieldError ¶
type FieldError struct {
// contains filtered or unexported fields
}
A FieldError occurs when an error occurs updating an individual field in the provided struct value.
func (*FieldError) Error ¶
func (err *FieldError) Error() string
type FieldOptions ¶
FieldOptions maintain flag options for a given field.
Click to show internal directories.
Click to hide internal directories.