I have a map of type: map[string]interface{}
And finally, I get to create something like (after deserializing from a yml file using goyaml)
mymap = map[foo:map[first: 1] boo: map[second: 2]]
How can I iterate through this map? I tried the following:
for k, v := range mymap{
...
}
But I get an error:
cannot range over mymap
typechecking loop involving for loop
Please help.