Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var IdCardAlpha = []int{7, 9, 10, 5, 8, 4, 2, 1, 6, 3, 7, 9, 10, 5, 8, 4, 2, 0}
View Source
var IdCardCheckSum = []byte{'1', '0', 'X', '9', '8', '7', '6', '5', '4', '3', '2'}
View Source
var Random = []int64{77006791947779465, 74665223082153637, 29484611666145882,
37200794235010091, 16589616287113976, 34824724549167383, 5394647632969764,
43635317331776162, 94385949183117224, 75422040480279476, 14588224549167383}
View Source
var RandomAlpha = []string{"a", "b", "c", "d", "e", "f"}
Functions ¶
Types ¶
type IdCard ¶
type IdCard struct { CardNum string // contains filtered or unexported fields }
func ConvertOldIdCard ¶
func ParseIdCard ¶
func (*IdCard) GetAgeLevel ¶
Click to show internal directories.
Click to hide internal directories.