Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/aiprodcoder/MIXAPI
/ GetRandomInt
Function
GetRandomInt
common/utils.go:187–190 ·
view source on GitHub ↗
(max int)
Source
from the content-addressed store, hash-verified
185
}
186
187
func
GetRandomInt(max int) int {
188
//rand.Seed(time.Now().UnixNano())
189
return
rand.Intn(max)
190
}
191
192
func
GetTimestamp() int64 {
193
return
time.Now().Unix()
Callers
3
GenerateAccessToken
Function · 0.92
getRandomSatisfiedChannelWithTag
Function · 0.92
GetRandomSatisfiedChannel
Function · 0.92
Calls
no outgoing calls
Tested by
no test coverage detected