Check out example codes for "initialize map in golang". It will help you in understanding the concepts better.

Code Example 1

// By default maps in Go behaves like a default dictionary in python
m := make(map[string]int)

m["Dio"] = 3
m["Jonathan"] = 1

Learn ReactJs, React Native from akashmittal.com