feat: Add location search

This commit is contained in:
2026-02-21 01:50:59 +03:00
parent f520473ed3
commit 26af8af8a9
9 changed files with 417 additions and 104 deletions
+7 -5
View File
@@ -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 {