Documentation
¶
Index ¶
- func GetAgeByIdCard(idCard string, currentDate time.Time) (int, error)
- func GetBirthByIdCard(idCard string) (string, error)
- func GetGenderByIdCard(idCard string) (string, error)
- func GetRegionByIdCard(idCard string) (string, error)
- func IsValidCard(idCard string) bool
- type City
- type District
- type Province
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAgeByIdCard ¶
GetAgeByIdCard 获取年龄
func GetGenderByIdCard ¶
GetGenderByIdCard 获取性别
func GetRegionByIdCard ¶
GetRegionByIdCard 获取省份和城市
Types ¶
Click to show internal directories.
Click to hide internal directories.