From 21aa37507aae3b88c04e7e154fe0ef453b00e290 Mon Sep 17 00:00:00 2001 From: phuanbui Date: Mon, 29 Aug 2022 18:07:58 +0700 Subject: [PATCH] edit type field code --- model/location_response.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/model/location_response.go b/model/location_response.go index f383d12..436d1f7 100644 --- a/model/location_response.go +++ b/model/location_response.go @@ -10,19 +10,19 @@ type ResponseLocationAddress struct { type LocationProvince struct { ID string `json:"id"` Name string `json:"name"` - Code string `json:"code"` + Code int `json:"code"` } // LocationDistrict ... type LocationDistrict struct { ID string `json:"id"` Name string `json:"name"` - Code string `json:"code"` + Code int `json:"code"` } // LocationWard ... type LocationWard struct { ID string `json:"id"` Name string `json:"name"` - Code string `json:"code"` + Code int `json:"code"` }