-
-
Notifications
You must be signed in to change notification settings - Fork 500
Open
Description
Describe the feature
To support copy []any -> []T.
Motivation
When i try to copy []any(map[string]any(string)) to a []map[string]string, copier don't copy the value correctly. So i try figure out the reason. Then i found the slice copy logic stipulates that the values must be the same. But when the DeepCopy option is on, we can try to deep copy the any to the correct type T.
Related Issues
Metadata
Metadata
Assignees
Labels
No labels