Documentation ¶
Index ¶
- func GetCodeByCityName(cityName string) (provinceCode string, cityCode string)
- func GetNameByCityCode(code string) string
- func GetOnlyCityData() []dataAreaData
- func Init() (err error)
- func SearchPCR(province, city, region string) (provinceCode string, cityCode string, regionCode string)
- type DataProvinceData
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetCodeByCityName ¶
GetCodeByCityName 通过城市检索行政编码
func GetOnlyCityData ¶
func GetOnlyCityData() []dataAreaData
Types ¶
type DataProvinceData ¶
Click to show internal directories.
Click to hide internal directories.