Skip to content

proposal: x/exp/maps: add Merge #57191

Closed
Closed
@louisportay

Description

@louisportay

Prior to my PR, I didn't see that this feature was already discussed here.

Even though the change was retracted in favor of maps.Copy, I believe that for a large number of maps to merge, the semantics of a Merge function are more meaningful.

The implementation I've proposed has no mechanism for key conflicts resolution.
But this mechanism (if implemented) could possibly justify this function existence alongside maps.Copy.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions