checkT

package
v0.2.6 Latest Latest
Warning

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

Go to latest
Published: Jan 2, 2025 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Address

func Address(address string) bool

检测地址是否合法

func CarCode

func CarCode(code string) bool

检测车牌号是否合法

func GetAgeByIdCard

func GetAgeByIdCard(idNum string) int

获取年龄

func IDCardSensitiveInfoReplace

func IDCardSensitiveInfoReplace(str string) string

身份证敏感信息替换

func IsValidCitizenNo

func IsValidCitizenNo(citizenNo *[]byte) bool

IsValidCitizenNo 有效身份证

func IsValidCitizenNo18

func IsValidCitizenNo18(citizenNo18 *[]byte) bool

func Name

func Name(name string) (bool, string)

检测姓名是否合法

Types

This section is empty.

Jump to

Keyboard shortcuts

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