idcard

package
v0.5.2 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2025 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Check

func Check(idCard string) bool

Check 身份证有效性验证 @param idCard string 身份证号

func CompanyCreditCodeCheck

func CompanyCreditCodeCheck(creditCode string) bool

CompanyCreditCodeCheck 企业统一社会信用代码有效性验证

func CompanyCreditCodeHide

func CompanyCreditCodeHide(creditCode, symbol string) string

CompanyCreditCodeHide 隐藏企业统一社会信用代码中间位数

func CompanyNameHide

func CompanyNameHide(companyName, symbol string) string

CompanyNameHide 隐藏企业名称 @param companyName string 企业名称 @param symbol string 隐藏标示符号

func Hide

func Hide(idCard, symbol string) string

Hide 隐藏身份证号中间位数 @param idCard string 身份证号 @param symbol string 隐藏标示符号

func HideRealName

func HideRealName(realName, symbol string) string

HideRealName 隐藏姓名 @param realName string 姓名 @param symbol string 隐藏标示符号

Types

This section is empty.

Jump to

Keyboard shortcuts

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