Check out example codes for "go iterate over 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