Releases: go-goyave/copier
Releases · go-goyave/copier
v0.4.4
- Remove use of deprecated
reflect.PtrTo
@Roccoriu - Fixed nil slice becoming empty slice after copying from incompatible source type (jinzhu#215 jinzhu#216) @helloqiu
- Fixed
driver.Valuer
implementations not being copied to destination types when the two types cannot be converted directly (jinzhu#214) @laushunyu
Full Changelog: v0.4.3...v0.4.4
v0.4.3
- Fixed bug: if the destination field implement
sql/driver.Scanner
and the source field implementssql/driver.Valuer
,Value()
was not called on the source field.
v0.4.2
- Fixed destination slice not resized if types are not directly convertible
v0.4.1
- Added
copier.Valuer
interface - Fix maps and slices not being resized if the
DeepCopy
option istrue
- Fixed and improved tests
- Added linter and fixed issues