Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/apache/answer
/ UsernameSuffix
Function
UsernameSuffix
pkg/random/random_username.go:27–31 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
25
)
26
27
func
UsernameSuffix() string {
28
bytes := make([]byte, 2)
29
_, _ = rand.Read(bytes)
30
return
hex.EncodeToString(bytes)
31
}
32
33
func
Username() string {
34
bytes := make([]byte, 6)
Callers
1
MakeUsername
Method · 0.92
Calls
no outgoing calls
Tested by
no test coverage detected