Adding 1 to the maximum value of a 64 bit unsigned integer in Go will result in it wrapping around, something the current code does not seem to take into consideration in code such as:
if numbers[0]+1 > MaxValue() {
return "", errors.New("ran out of range checking against the blocklist")
}
As illustrated by this example:
https://go.dev/play/p/tckABU8iLbW
Adding
1
to the maximum value of a 64 bit unsigned integer in Go will result in it wrapping around, something the current code does not seem to take into consideration in code such as: