Versions in this module Expand all Collapse all v0 v0.0.1 Jan 15, 2022 Changes in this version + var ErrInvalidCopyDestination = errors.New("copy target is invalid") + var ErrInvalidCopyFrom = errors.New("copy source is invalid") + var ErrMapKeyNotMatch = errors.New("map's key type doesn't match") + var ErrNotSupported = errors.New("not supported") + func Copy(source interface{}, target interface{}) (err error) + func CopyWithOpt(source interface{}, target interface{}, opt Option) (err error) + func JsonCopy(source interface{}, target interface{}) (err error) + func KindType(reflectType reflect.Type) (_ reflect.Type, isPtr bool) + func KindValue(reflectValue reflect.Value) reflect.Value + type Option struct + DeepCopy bool + IgnoreEmpty bool + IgnoreIgnore bool