idcard

package
Version: v0.0.0-...-5d8e645 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ProvincesJson = `` /* 1105-byte string literal not displayed */

	StreetsJson = `` /* 4467250-byte string literal not displayed */

)

Functions

func GenResidentIdCard

func GenResidentIdCard(areaCode string, birthDate time.Time, sex string) (number string)

func IsResidentIdCard

func IsResidentIdCard(number string) (valid bool, birthDate time.Time, sex string)

func UpgradeResidentIdCard

func UpgradeResidentIdCard(idCardNo string) string

Types

This section is empty.

Source Files

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL