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

func main() { 
   hist := make(map[int]string) 
   hist["Jan"] = 100 
   hist["Feb"] = 445 
   hist["Mar"] = 514 
... 
} 

From

Cover of Go: Design Patterns for Real-World Projects

Note

I think this map should've been initialized with `make(map[string]int) as stated above