Documentation ¶ Index ¶ func ParseCountryData(cities []*City) map[string]map[string]int type City type Country type Province Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func ParseCountryData ¶ func ParseCountryData(cities []*City) map[string]map[string]int Types ¶ type City ¶ type City struct { Name string `json:"city"` Province Country Municipality bool `json:"municipality"` Confirmed int `json:"confirm"` Suspected int `json:"suspect"` Cured int `json:"heal"` Dead int `json:"dead"` } type Country ¶ type Country struct { Name string `json:"country"` } type Province ¶ type Province struct { Name string `json:"area"` } Source Files ¶ View all Source files model.go Click to show internal directories. Click to hide internal directories.