-
Notifications
You must be signed in to change notification settings - Fork 27
/
email.go
25 lines (22 loc) · 857 Bytes
/
email.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
package kolpa
// Address function returns a random email address.
// A convenience function, same as g.GenericGenerator("email"),
// but only for en_US language
// Sample Output: [email protected]
func (g *Generator) Email() string {
return g.GenericGenerator("email")
}
// Address function returns a random male email address.
// A convenience function, same as g.GenericGenerator("email_male"),
// but only for en_US language
// Sample Output: [email protected]
func (g *Generator) EmailMale() string {
return g.GenericGenerator("email_male")
}
// Address function returns a random female email address.
// A convenience function, same as g.GenericGenerator("email_female"),
// but only for en_US language
// Sample Output: [email protected]
func (g *Generator) EmailFemale() string {
return g.GenericGenerator("email_female")
}