Versions in this module Expand all Collapse all v0 v0.3.8 Jan 9, 2023 v0.3.7 Jan 9, 2023 Changes in this version + const Bool + const Float32 + const Float64 + const Int + const String + var ErrFieldNameTagStartNotUpperCase = errors.New("copier field name tag must be start upper case") + var ErrInvalidCopyDestination = errors.New("copy destination is invalid") + var ErrInvalidCopyFrom = errors.New("copy from is invalid") + var ErrMapKeyNotMatch = errors.New("map's key type doesn't match") + var ErrNotSupported = errors.New("not supported") + func Copy(toValue interface{}, fromValue interface{}) (err error) + func CopyWithOption(toValue interface{}, fromValue interface{}, opt Option) (err error) + type Option struct + Converters []TypeConverter + DeepCopy bool + IgnoreEmpty bool + type TypeConverter struct + DstType interface{} + Fn func(src interface{}) (dst interface{}, err error) + SrcType interface{}