Skip to content

Commit

Permalink
fix: MaxInt was added only in 1.17 use instead
Browse files Browse the repository at this point in the history
  • Loading branch information
duke-git committed Nov 27, 2024
1 parent b4e7977 commit e1e1588
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion random/random.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import (
)

const (
MaximumCapacity = math.MaxInt>>1 + 1
MaximumCapacity = math.MaxInt32>>1 + 1
Numeral = "0123456789"
LowwerLetters = "abcdefghijklmnopqrstuvwxyz"
UpperLetters = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
Expand Down

0 comments on commit e1e1588

Please sign in to comment.