barkimedes / go-deepcopy

A Golang package for doing a deep copy for (just about) anything
MIT License
140 stars 28 forks source link

Use generics `deepcopy.Anything(T) => T` #9

Open jpillor-macquarie opened 1 year ago

jpillor-macquarie commented 1 year ago

Could do a v2 or add a package function

brunoga commented 7 months ago

FWIIW, I did a from scratch reimplementation of this here: https://github.com/brunoga/deep

It supports this feature.