From ed0f16623ad22857148aa4a216117292317b0819 Mon Sep 17 00:00:00 2001 From: quang1472001 Date: Fri, 7 Oct 2022 15:23:02 +0700 Subject: [PATCH] add old slug to location response struct --- model/location_response.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/model/location_response.go b/model/location_response.go index 2674041..1595908 100644 --- a/model/location_response.go +++ b/model/location_response.go @@ -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"`