Update XHTTP

This commit is contained in:
Sergei Maklagin
2025-12-11 02:46:57 +03:00
parent d7f0cea4ff
commit 287fe834db
9 changed files with 94 additions and 43 deletions

View File

@@ -9,6 +9,9 @@ func RandBetween(from int64, to int64) int64 {
if from == to {
return from
}
if from > to {
from, to = to, from
}
bigInt, _ := rand.Int(rand.Reader, big.NewInt(to-from))
return from + bigInt.Int64()
}