Versions in this module Expand all Collapse all v1 v1.0.0 Apr 19, 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