Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/fnproject/fn
/ randStringBytes
Function
randStringBytes
examples/tutorial/logging/main.go:16–22 ·
view source on GitHub ↗
(n int)
Source
from the content-addressed store, hash-verified
14
}
15
16
func
randStringBytes(n int) string {
17
b := make([]byte, n)
18
for
i :=
range
b {
19
b[i] = lBytes[rand.Intn(len(lBytes))]
20
}
21
return
string(b)
22
}
23
24
func
main() {
25
out := &outputSize{Size: 64 * 1024}
Callers
1
main
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected