Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/usefathom/fathom
/ randomString
Function
randomString
pkg/config/config.go:84–91 ·
view source on GitHub ↗
(len int)
Source
from the content-addressed store, hash-verified
82
}
83
84
func
randomString(len int) string {
85
bytes := make([]byte, len)
86
for
i := 0; i < len; i++ {
87
bytes[i] = byte(65 + rand.Intn(25))
//A=65 and Z = 65+25
88
}
89
90
return
string(bytes)
91
}
Callers
2
TestRandomString
Function · 0.70
Parse
Function · 0.70
Calls
no outgoing calls
Tested by
1
TestRandomString
Function · 0.56