Documentation
¶
Index ¶
- func AddRoute[TSource, TDest any | []any](mapFunc func(source TSource, dest *TDest) error) error
- func AutoRoute[TSource, TDest any | []any](options ...AutoMapperOption) error
- func Map(source interface{}, dest interface{}) error
- func MapTo[TDest interface{}](source interface{}) (TDest, error)
- type AutoMapperOption
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AutoMapperOption ¶ added in v1.0.1
type AutoMapperOption interface {
}
func WithFieldRoute ¶ added in v1.0.1
func WithFieldRoute(source, dest string) AutoMapperOption
Click to show internal directories.
Click to hide internal directories.