diff --git a/models/CountryInfo.go b/models/CountryInfo.go new file mode 100644 index 0000000000000000000000000000000000000000..8644e1b8b7f08ec8a4ce7249ef2f842aee3479bc --- /dev/null +++ b/models/CountryInfo.go @@ -0,0 +1,13 @@ +package models + +// CountryInfo represents the response structure for country information. +type CountryInfoStruct struct { + Name string `json:"name"` + Continents []string `json:"continents"` + Population int `json:"population"` + Languages []string `json:"languages"` + Borders []string `json:"borders"` + Flag string `json:"flag"` + Capital string `json:"capital"` + Cities []string `json:"cities"` +}