Documentation
¶
Index ¶
- func Copy(src, dst any, options ...copyOption) error
- func WithCaseInsensitive() copyOption
- func WithDeepCopy() copyOption
- func WithFieldNameMapping(fieldMapping ...copier.FieldNameMapping) copyOption
- func WithIgnoreEmpty() copyOption
- func WithTypeConverters(converters ...TypeConverter) copyOption
- type TypeConverter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WithCaseInsensitive ¶
func WithCaseInsensitive() copyOption
WithCaseInsensitive case-insensitive.
func WithFieldNameMapping ¶
func WithFieldNameMapping(fieldMapping ...copier.FieldNameMapping) copyOption
WithFieldNameMapping field name mapping.
func WithTypeConverters ¶
func WithTypeConverters(converters ...TypeConverter) copyOption
Types ¶
type TypeConverter ¶
type TypeConverter = copier.TypeConverter
Click to show internal directories.
Click to hide internal directories.