MCPcopy Index your code
hub / github.com/coder/coder / RandomUsername

Function RandomUsername

coderd/coderdtest/coderdtest.go:1749–1751  ·  view source on GitHub ↗
(_ testing.TB)

Source from the content-addressed store, hash-verified

1747}
1748
1749func RandomUsername(_ testing.TB) string {
1750 return namesgenerator.UniqueNameWith("-")
1751}
1752
1753// RandomName returns a random name in title case (e.g. "Happy Einstein").
1754func RandomName(_ testing.TB) string {

Calls 1

UniqueNameWithFunction · 0.92