Versions in this module Expand all Collapse all v0 v0.0.1 Jun 5, 2021 Changes in this version + const DISTRICT + const PROVINCE + const SUBDISTRICT + const URBANVILLAGE + type Area string + type AreaModel struct + Code string + Name string + Parent string + func GetDistrictByCode(code string) *AreaModel + func GetDistricts(filters []AreaModel) ([]AreaModel, int) + func GetDistrictsByProvince(provinceCode string, filters []AreaModel) ([]AreaModel, int) + func GetProvinceByCode(code string) *AreaModel + func GetProvinces(filters []AreaModel) ([]AreaModel, int) + func GetSubDistrictByCode(code string) *AreaModel + func GetSubDistricts(filters []AreaModel) ([]AreaModel, int) + func GetSubDistrictsByDistrict(districtCode string, filters []AreaModel) ([]AreaModel, int) + func GetUrbanVillageByCode(code string) *AreaModel + func GetUrbanVillages(filters []AreaModel) ([]AreaModel, int) + func GetUrbanVillagesBySubDistrict(subDistrictCode string, filters []AreaModel) ([]AreaModel, int)