Closed rahulkhairwar closed 4 years ago
@jinzhu Hi, I would like to request a review for an implementation for the logged issue #36. I have added a new feature function, while keeping backward compatibility. Please do let me know if you think I should change something! Cheers!
Hi @jinzhu , are we have this method (CopyNonEmpty) before? This is the best method for updating a struct.
Please @jinzhu, enlighten us with your wisdom! : smile:
Thank you for your PR, Added CopyWithOption
method to replace this one.
Implementation for 36. Added a function CopyNonEmpty(), which copies only the non-zero fields for different data types.