3. Key Types
hits := make(map[string]map[string]int)n := hits["/doc/"]["au"]func add(m map[string]map[string]int, path, country string) {
mm, ok := m[path]
if !ok {
mm = make(map[string]int)
m[path] = mm
}
mm[country]++
}
add(hits, "/doc/", "au")type Key struct {
Path, Country string
}
hits := make(map[Key]int)