feat: Add location search
This commit is contained in:
+7
-5
@@ -12,11 +12,13 @@ type Coordinates struct {
|
||||
}
|
||||
|
||||
type Location struct {
|
||||
ID int `json:"id"`
|
||||
NameTR string `json:"name_tr"`
|
||||
NameEN string `json:"name_en"`
|
||||
Latitude float64 `json:"latitude"`
|
||||
Longitude float64 `json:"longitude"`
|
||||
ID int `json:"id"`
|
||||
Name string `json:"name"`
|
||||
ASCIIName string `json:"ascii_name"`
|
||||
AlternateNames string `json:"alternate_names"`
|
||||
CountryCode string `json:"country_code"`
|
||||
Latitude float64 `json:"latitude"`
|
||||
Longitude float64 `json:"longitude"`
|
||||
}
|
||||
|
||||
type Times struct {
|
||||
|
||||
Reference in New Issue
Block a user