Files
moxa/_test/delete0.go
2019-03-19 12:14:44 +01:00

13 lines
153 B
Go

package main
import "fmt"
func main() {
a := map[string]int{"hello": 1, "world": 3}
delete(a, "hello")
fmt.Println(a)
}
// Output:
// map[world:3]