cannot install package on go 1.12 because of math.MaxInt
eeddaann opened this issue · comments
eeddaann commented
I couldn't install the package on vscode with go 1.12. got the following error message:
go get -u github.com/yeqown/go-qrcode
# github.com/yeqown/go-qrcode
..\..\go\src\github.com\yeqown\go-qrcode\mask_evaluation.go:35:10: undefined: math.MaxInt
..\..\go\src\github.com\yeqown\go-qrcode\mask_evaluation.go:113:10: undefined: math.MaxInt
..\..\go\src\github.com\yeqown\go-qrcode\mask_evaluation.go:148:10: undefined: math.MaxInt
I guess the problem is similar to the bug which described here:
buger/goterm@b630d37
yeqown commented
MR is accepted, but upgrading the go version maybe help you follow the community better 😬 ~