jinzhu / copier

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

fixed copy fields breaking on unexported pointer field, close #102 #116

Closed tomdevelops closed 2 years ago

tomdevelops commented 3 years ago

unexported empty pointer fields could break the copy cycle, this PR fixes that.

Credits go to @demobin8, for pointing this out in the issue #102 and for the solution.

jinzhu commented 2 years ago

closed by https://github.com/jinzhu/copier/pull/113