From 05103803ffc7b55fe640b71a63844e73b00a373b Mon Sep 17 00:00:00 2001 From: phuanbui Date: Mon, 29 Aug 2022 17:54:50 +0700 Subject: [PATCH] add field code --- model/location_response.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/model/location_response.go b/model/location_response.go index 82866ec..f383d12 100644 --- a/model/location_response.go +++ b/model/location_response.go @@ -10,16 +10,19 @@ type ResponseLocationAddress struct { type LocationProvince struct { ID string `json:"id"` Name string `json:"name"` + Code string `json:"code"` } // LocationDistrict ... type LocationDistrict struct { ID string `json:"id"` Name string `json:"name"` + Code string `json:"code"` } // LocationWard ... type LocationWard struct { ID string `json:"id"` Name string `json:"name"` + Code string `json:"code"` }