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

Function LastName

random_data.go:141–143  ·  view source on GitHub ↗

LastName returns a random last name

()

Source from the content-addressed store, hash-verified

139
140// LastName returns a random last name
141func LastName() string {
142 return randomFrom(jsonData.LastNames)
143}
144
145// FullName returns a combination of FirstName LastName randomized, gender decides the gender of the name
146func FullName(gender int) string {

Callers 5

FullNameFunction · 0.85
EmailFunction · 0.85
GenerateProfileFunction · 0.85
TestLastNameFunction · 0.85
ExampleRandomdataFunction · 0.85

Calls 1

randomFromFunction · 0.85

Tested by 2

TestLastNameFunction · 0.68
ExampleRandomdataFunction · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…