示例#1
0
文件: creditcard.go 项目: jalil/faker
func cardNumber() []string {

	carddata := &CardData{}
	faker.UnmarshalData(carddata)
	return carddata.CreditCard.CardNumber

}
示例#2
0
文件: lorem.go 项目: jalil/faker
func LoremWords() []string {

	loremdata := &LoremData{}
	faker.UnmarshalData(loremdata)
	return loremdata.Lorem.Words

}
示例#3
0
文件: internet.go 项目: jalil/faker
func internetDomain() []string {

	internetdata := &InternetData{}
	faker.UnmarshalData(internetdata)
	return internetdata.Internet.FreeEmail

}
示例#4
0
文件: app.go 项目: jalil/faker
func AppName() []string {

	appdata := &AppData{}
	faker.UnmarshalData(appdata)
	return appdata.App.Name
}
示例#5
0
文件: address.go 项目: jalil/faker
func cityData() []string {

	addressdata := &AddressData{}
	faker.UnmarshalData(addressdata)
	return addressdata.Address.City
}
示例#6
0
文件: address.go 项目: jalil/faker
func countryCode() []string {

	addressdata := &AddressData{}
	faker.UnmarshalData(addressdata)
	return addressdata.Address.CountryCode
}
示例#7
0
文件: address.go 项目: jalil/faker
func suffixData() []string {

	addressdata := &AddressData{}
	faker.UnmarshalData(addressdata)
	return addressdata.Address.StreetSuffix
}
示例#8
0
文件: address.go 项目: jalil/faker
func stateData() []string {

	addressdata := &AddressData{}
	faker.UnmarshalData(addressdata)
	return addressdata.Address.State
}
示例#9
0
文件: address.go 项目: jalil/faker
func CityPrefix() []string {

	addressdata := &AddressData{}
	faker.UnmarshalData(addressdata)
	return addressdata.Address.CityPrefix
}
示例#10
0
文件: internet.go 项目: jalil/faker
func publicEmail() []string {

	internetdata := &InternetData{}
	faker.UnmarshalData(internetdata)
	return internetdata.Internet.DomainSuffix
}