Compare commits

..

No commits in common. "4d51d0a1d0cc1b46cad7cd5a10297b92d04f71d3" and "9fd0eaadb84b7b03560a8a686514f0a7e761304a" have entirely different histories.

1 changed files with 0 additions and 6 deletions

View File

@ -4,7 +4,6 @@ import (
"errors"
"git.makemake.in/kzkzzzz/mycommon/mylog"
"log"
"math/rand/v2"
"net"
"os"
"runtime/debug"
@ -27,11 +26,6 @@ func SafeGo(fn func()) {
}()
}
// RandRange [min, max] 左右均包含
func RandRange(min, max int) int {
return rand.IntN(max+1-min) + min
}
var (
getIpOnce = &sync.Once{}
outBoundIp = "127.0.0.1"