jinzhu / copier

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

Deepcopy on interface pointers not working properly #184

Open Kxzuir opened 1 year ago

Kxzuir commented 1 year ago

Reproducible Example

https://go.dev/play/p/CCyRNnveTGK

Description

It seems DeepCopy can not handle any type. I don't know if this is by design. May related to this one https://github.com/jinzhu/copier/issues/100