Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateMap ¶
func CreateMap(src interface{}, dst interface{})
CreateMap initiates a mapping from the src type to the dst type.
func IgnoreFields ¶
func IgnoreFields(dstFields ...interface{})
IgnoreFields tells the map to ignore certain destination fields.
func IgnoreUnexported ¶
func IgnoreUnexported()
IgnoreUnexported tells the map to ignore unexported destination fields.
func MapField ¶
func MapField(srcField interface{}, dstField interface{})
MapField tells the map to explicitly match fields that would otherwise not match.
func MapWith ¶
func MapWith(mappingFuncs ...interface{})
MapWith provides additional mapping functions to use for type conversions.
func RecognizePrefixes ¶
func RecognizePrefixes(prefix ...string)
RecognizePrefixes tells the map to match fields where the names match ignoring certain prefixes.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.