idcard

package
v1.0.11 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 16, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var W = []int{7, 9, 10, 5, 8, 4, 2, 1, 6, 3, 7, 9, 10, 5, 8, 4, 2}

Functions

func Check

func Check(idCard string) bool

Check 身份证有效性认证

func CheckID15

func CheckID15(idCard string) bool

CheckID15 15位身份证正则表达式验证

func CheckID18

func CheckID18(idCard string) bool

CheckID18 18位身份证正则表达式验证

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL