1 Commits
1.1.0 ... 1.1.1

Author SHA1 Message Date
Spedoske
51aaa16d79 修复随机数的问题 2020-07-09 12:01:18 +08:00
2 changed files with 4 additions and 0 deletions

View File

@@ -27,8 +27,11 @@ archives:
darwin: MacOS
linux: Linux
windows: Windows
freebsd: Freebsd
386: x86
amd64: x64
files:
- ip.txt
checksum:
name_template: 'checksums.txt'
snapshot:

View File

@@ -89,6 +89,7 @@ const failTime = 4
type CloudflareIPDataSet []CloudflareIPData
func initipEndWith() {
rand.Seed(time.Now().UnixNano())
ipEndWith = uint8(rand.Intn(254) + 1)
}