Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

undefined: math.MaxInt #72

Open
nhendy opened this issue Sep 10, 2022 · 1 comment
Open

undefined: math.MaxInt #72

nhendy opened this issue Sep 10, 2022 · 1 comment

Comments

@nhendy
Copy link

nhendy commented Sep 10, 2022

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

@kssilveira
Copy link
Member

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants