Documentation
¶
Overview ¶
Package automapper contains Mapper used to map two structs or slices automatically.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrNotAPtr = errors.New("value is not a ptr") ErrNotAFn = errors.New("value is not a function") ErrMissingConverter = errors.New("converter is missing for types") ErrConverter = errors.New("converter error") ErrConverterErrorUnknownType = errors.New("converter 2nd return value cannot be converted to error") )
Functions ¶
This section is empty.
Types ¶
type Mapper ¶
type Mapper struct {
// contains filtered or unexported fields
}
Mapper maps struct values.
Click to show internal directories.
Click to hide internal directories.