How to merge two maps?

#1

I know union will merge two slices together, now I wonder if there’s another function to perform this on a map? I’m not talking about deep merging. A one level merge will do.

I’m thinking about writing my own returning partial, but if something is already available out there that will surely handle it better than a custom solution :slight_smile:

Thanks a ton!

0 Likes