generator

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2018 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddrGenerate

func AddrGenerate() string

随机地址生成

func BankGenerate

func BankGenerate() string

随机生成银行卡号

func EmailGenerate

func EmailGenerate() string

随机生成邮箱

func GenProvinceAndCity

func GenProvinceAndCity() string

随机省/城市

func GenerateIssueOrg

func GenerateIssueOrg() string

生成签发机关:XXX公安局/XX区分局

func GenerateValidPeriod

func GenerateValidPeriod() string

生成有效期限:20150906-20350906

func IDCardGenerate

func IDCardGenerate() string

身份证号生成

func LUHNProcess added in v0.0.3

func LUHNProcess(preCardNo string) string

LUHN 合成卡号

func MobileGenerate

func MobileGenerate() string

随机生成手机号

func NameGenerate

func NameGenerate() string

生成姓名

func RandDate

func RandDate() time.Time

随机时间 1970-2000

func VerifyCode

func VerifyCode(cardId string) string

获取 VerifyCode

Types

This section is empty.

Jump to

Keyboard shortcuts

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