Versions in this module Expand all Collapse all v0 v0.2.6 Mar 5, 2021 Changes in this version + 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 + DeepCopy bool + IgnoreEmpty bool