map.go 101 B

123456789
  1. package main
  2. import "fmt"
  3. func main() {
  4. var m = make(map[int]int, 11)
  5. m[1] = 2
  6. fmt.Println(m)
  7. }