Esempio n. 1
0
func cardNumber() []string {

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

}
Esempio n. 2
0
File: lorem.go Progetto: jalil/faker
func LoremWords() []string {

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

}
Esempio n. 3
0
func internetDomain() []string {

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

}
Esempio n. 4
0
File: app.go Progetto: jalil/faker
func AppName() []string {

	appdata := &AppData{}
	faker.UnmarshalData(appdata)
	return appdata.App.Name
}
Esempio n. 5
0
func cityData() []string {

	addressdata := &AddressData{}
	faker.UnmarshalData(addressdata)
	return addressdata.Address.City
}
Esempio n. 6
0
func countryCode() []string {

	addressdata := &AddressData{}
	faker.UnmarshalData(addressdata)
	return addressdata.Address.CountryCode
}
Esempio n. 7
0
func suffixData() []string {

	addressdata := &AddressData{}
	faker.UnmarshalData(addressdata)
	return addressdata.Address.StreetSuffix
}
Esempio n. 8
0
func stateData() []string {

	addressdata := &AddressData{}
	faker.UnmarshalData(addressdata)
	return addressdata.Address.State
}
Esempio n. 9
0
func CityPrefix() []string {

	addressdata := &AddressData{}
	faker.UnmarshalData(addressdata)
	return addressdata.Address.CityPrefix
}
Esempio n. 10
0
func publicEmail() []string {

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