MCPcopy Create free account
hub / github.com/Pallinder/go-randomdata / Email

Function Email

random_data.go:151–153  ·  view source on GitHub ↗

Email returns a random email

()

Source from the content-addressed store, hash-verified

149
150// Email returns a random email
151func Email() string {
152 return strings.ToLower(FirstName(RandomGender)+LastName()) + StringNumberExt(1, "", 3) + "@" + randomFrom(jsonData.Domains)
153}
154
155// Country returns a random country, countryStyle decides what kind of format the returned country will have
156func Country(countryStyle int64) string {

Callers 2

TestEmailFunction · 0.85
ExampleRandomdataFunction · 0.85

Calls 4

FirstNameFunction · 0.85
LastNameFunction · 0.85
StringNumberExtFunction · 0.85
randomFromFunction · 0.85

Tested by 2

TestEmailFunction · 0.68
ExampleRandomdataFunction · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…