Versions in this module Expand all Collapse all v1 v1.0.2 Mar 9, 2022 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{}