jinzhu / copier

Copier for golang, copy value from struct to struct and more
MIT License
5.58k stars 490 forks source link

Add support for copying to an interface using source type and allow deep copy on map field #70

Closed math-nao closed 3 years ago

math-nao commented 3 years ago

Closes #57

Change details:

Add support for copying to an interface using source type Add support for deep copy on map field Add more tests for this use case

math-nao commented 3 years ago

@jinzhu do you prefer an option to enable this new feature?

jinzhu commented 3 years ago

Looks good, thank you for your PR.