Documentation ¶
Overview ¶
省市区模块,高德省市区
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var CityCsv embed.FS
Functions ¶
Types ¶
type City ¶
type City struct { Adcode uint `gorm:"column:ad_code;primaryKey;type:INT UNSIGNED;comment:省市区的ADCode;not null" json:"ad_code" form:"ad_code"` // 省市区的ADCode CityCode string `gorm:"column:cidy_code;type:VARCHAR(4);comment:省市区的CityCode;index:city_code" json:"cidy_code" form:"cidy_code"` // 省市区的CityCode Name string `gorm:"column:name;type:VARCHAR(100);comment:省市区的中文名;index:name" json:"name" form:"name"` // 中文名 }
城市的表结构信息
Click to show internal directories.
Click to hide internal directories.