Open nhendy opened 1 year ago
I got the error below when running go get -u github.com/protocolbuffers/txtpbfmt/cmd/txtpbfmt
go get -u github.com/protocolbuffers/txtpbfmt/cmd/txtpbfmt
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!
MaxInt64
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