This commit is contained in:
Mark McGranaghan 2012-10-10 12:41:04 -07:00
parent 0e16b3c8a6
commit 5ae0f570cd

View File

@ -30,7 +30,7 @@ func main() {
fmt.Println("len:", len(m))
// The builtin `delete` removes key/value pairs from
// a map
// a map.
delete(m, "k2")
fmt.Println("map:", m)