Spaces:
Paused
Paused
| package utils | |
| func MergeMap(mObj ...map[string]interface{}) map[string]interface{} { | |
| newObj := map[string]interface{}{} | |
| for _, m := range mObj { | |
| for k, v := range m { | |
| newObj[k] = v | |
| } | |
| } | |
| return newObj | |
| } | |