Example #1
0
func cardNumber() []string {

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

}
Example #2
0
File: lorem.go Project: jalil/faker
func LoremWords() []string {

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

}
Example #3
0
func internetDomain() []string {

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

}
Example #4
0
File: app.go Project: jalil/faker
func AppName() []string {

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

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

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

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

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

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

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