And, I realized just after posting that your data structure has private
fields in it as https://github.com/mohae/deepcopy won't work on those.



On Thu, Apr 16, 2020 at 9:02 PM Hugh Emberson <hugh.ember...@gmail.com>
wrote:

> On Thu, Apr 16, 2020 at 2:07 PM Marc Schöchlin <m...@256bit.org> wrote:
>
>> i am searching for a convenient way to deep-clone a nested datastructure.
>>
>
> I've used https://github.com/mohae/deepcopy with some success.  YMMV.
>
> Regards,
> Hugh
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/CAJ5gAGmwjnqOtHeE17ScyM7SUZymrb9D-MJ4VG%3DD9Zo6oKesxQ%40mail.gmail.com.

Reply via email to