add old slug to location response struct

This commit is contained in:
quang1472001 2022-10-07 15:23:02 +07:00
parent 3e13cb55b3
commit ed0f16623a
1 changed files with 3 additions and 0 deletions

View File

@ -54,6 +54,7 @@ type (
Name string `json:"name"`
SearchString string `json:"searchString"`
Slug string `json:"slug"`
OldSlug string `json:"oldSlug"`
Code int `json:"code"`
CountryCode string `json:"countryCode"`
RegionCode string `json:"regionCode"`
@ -70,6 +71,7 @@ type (
Name string `json:"name"`
SearchString string `json:"searchString"`
Slug string `json:"slug"`
OldSlug string `json:"oldSlug"`
Code int `json:"code"`
ProvinceCode int `json:"provinceCode"`
Area int `json:"area"`
@ -84,6 +86,7 @@ type (
Name string `json:"name"`
SearchString string `json:"searchString"`
Slug string `json:"slug"`
OldSlugs []string `json:"oldSlugs"`
Code int `json:"code"`
DistrictCode int `json:"districtCode"`
ProvinceCode int `json:"provinceCode"`