Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterMapping ¶
func RegisterMapping(from, to string, f MapperFunc)
func SetWrapperType ¶ added in v1.0.7
func UnregisterMapping ¶
func UnregisterMapping(from, to string)
Types ¶
type IMapper ¶
type IMapper interface { Map(source, dest interface{}, loose bool) RegisterMapping(from, to string, f MapperFunc) UnregisterMapping(from, to string) SetWrapperType(typeStr string, wrapper bool) }
func NewDefaultMapper ¶
func NewDefaultMapper() IMapper
type MapperFunc ¶
Click to show internal directories.
Click to hide internal directories.