fix: MaxInt was added only in 1.17 use instead

This commit is contained in:
dudaodong committed 2024-11-27 15:08:54 +08:00
1 parent 1eb793420e
commit 6bd61460d3
3 files changed
+62 -62

No files matched your search

+1 -1
View File
@@ -18,7 +18,7 @@ import (
)
const (
MaximumCapacity = math.MaxInt>>1 + 1
MaximumCapacity = math.MaxInt32>>1 + 1
Numeral = "0123456789"
LowwerLetters = "abcdefghijklmnopqrstuvwxyz"
UpperLetters = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"