MCPcopy Index your code
hub / github.com/TruthHun/BookStack / randInt

Function randInt

utils/password.go:134–136  ·  view source on GitHub ↗
(min int, max int)

Source from the content-addressed store, hash-verified

132}
133
134func randInt(min int, max int) int {
135 return min + mt.Intn(max-min)
136}

Callers 2

PasswordHashFunction · 0.85
saltSecretFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected