jinzhu / copier

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

Feature Request #36

Closed anasanzari closed 3 years ago

anasanzari commented 6 years ago

Can we have non empty values copying functionality from one struct to another. Basically it should check for zero values in the source struct, and assign to destination only when it is not empty.