Run ❯
×
Change Orientation
Change Theme, Dark/Light
package main import ("fmt") func main() { var a = make(map[string]string) a["brand"] = "Ford" a["model"] = "Mustang" a["year"] = "1964" fmt.Println(a) delete(a,"year") fmt.Println(a) }
map[brand:Ford model:Mustang year:1964]
map[brand:Ford model:Mustang]