generator

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2018 License: MIT Imports: 6 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 MobileGenerate

func MobileGenerate() string

随机生成手机号

func NameGenerate

func NameGenerate() string

生成姓名

func NameGenerateOdd

func NameGenerateOdd() 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