Check out example codes for "go loop through map". It will help you in understanding the concepts better.
Code Example 1
for k, v := range m {
fmt.Printf("key[%s] value[%s]\n", k, v)
}
// or
for k := range m {
fmt.Printf("key[%s] value[%s]\n", k, m[k])
}
Learn ReactJs, React Native from akashmittal.com