Documentation
¶
Index ¶
- Variables
- func ImplementsBinaryUnmarshaler(relectType reflect.Type) bool
- func ImplementsDecoder(relectType reflect.Type) bool
- func ImplementsSetter(relectType reflect.Type) bool
- func ImplementsTextUnmarshaler(relectType reflect.Type) bool
- func NewErrRequiredEnvKeyForField(envKey, fieldTypeName string) error
- func Unmarshal(config interface{}) error
- type Decoder
- type ErrRequiredEnvKeyForField
- type Setter
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrConfigurationMustBeAStructPointer error = errors.New("configuration must be a struct pointer")
)
Functions ¶
func ImplementsDecoder ¶
func ImplementsSetter ¶
Types ¶
type Decoder ¶
Decoder has the same semantics as Setter, but takes higher precedence. It is provided for historical compatibility.
type ErrRequiredEnvKeyForField ¶
type ErrRequiredEnvKeyForField struct {
// contains filtered or unexported fields
}
func (*ErrRequiredEnvKeyForField) Error ¶
func (e *ErrRequiredEnvKeyForField) Error() string
Click to show internal directories.
Click to hide internal directories.