Beispiel #1
0
//Country return country name, panics if its cant read json data
func Street() string {
	//suffix := suffixData()[rand.Intn(len(suffixData()))]
	suffix := suffixData()[rand.Intn(len(suffixData()))]
	return name.LastName() + " " + suffix
}
Beispiel #2
0
func UserName() string {
	return strings.ToLower(name.FirstName()) + "." + strings.ToLower(name.LastName())
}