generator

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: May 12, 2019 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAddress added in v1.0.0

func GetAddress() string

随机地址生成

func GetBank added in v1.0.0

func GetBank() string

随机生成银行卡号

func GetEmail added in v1.0.0

func GetEmail() string

随机生成邮箱

func GetIDNo added in v1.0.0

func GetIDNo() string

身份证号生成

func GetIssueOrg added in v1.0.0

func GetIssueOrg() string

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

func GetMobile added in v1.0.0

func GetMobile() string

随机生成手机号

func GetName added in v1.0.0

func GetName() string

生成姓名

func GetProvinceAndCity added in v1.0.0

func GetProvinceAndCity() string

随机省/城市

func GetValidPeriod added in v1.0.0

func GetValidPeriod() string

生成有效期限(eg: 20150906-20350906)

func LUHNProcess added in v0.0.3

func LUHNProcess(preCardNo string) string

LUHN 合成卡号

func RandDate

func RandDate() time.Time

随机时间 1970-2010

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