Hello,
I'm struggling to understand why the following code function has a iterate-over-empty-map:
func iter2(){
m := map[string]int {
"toto": 1
}
fmt.Println("iterating")
for v := range m {
fmt.Println("map item: ", v)
}
}
Could you help me with that? 🙏
cc @Caomoji