O'Reilly logo
  • Mateus Resende thinks this is interesting:

hist := make(map[int]string) hist["Jan"] = 100

From

Cover of Go: Design Patterns for Real-World Projects

Note

Same as before, should've been initialized with `make(map[string]int)