txtpbfmt
txtpbfmt copied to clipboard
undefined: math.MaxInt
I got the error below when running go get -u github.com/protocolbuffers/txtpbfmt/cmd/txtpbfmt
github.com/protocolbuffers/txtpbfmt/parser
parser/parser.go:1346:12: undefined: math.MaxInt
hi, sorry for the problem, this seems to be caused by the Go version, can you try changing it to MaxInt64
which already existed in earlier Go versions?
If it fixes your problem I'm happy to approve your change!