Maps
Create a new Map
// create a new map
websites := map[string]string{}websites := map[string]string{
"Google": "https://google.com",
"Amazon": "https://amazon.com",
}Mutating Maps
fmt.Println(websites["Amazon"])
// Output:
https://amazon.comAdd new key-value pairs
Make Maps
Loop through Maps
Last updated