go-masker icon indicating copy to clipboard operation
go-masker copied to clipboard

Getting undefined: math.MaxInt error for 1.16

Open dhirajsittu781 opened this issue 2 years ago • 1 comments

I'm running "go get -u github.com/ggwhite/go-masker" and getting the following error: ../../../../go/pkg/mod/github.com/ggwhite/[email protected]/masker.go:322:64: undefined: math.MaxInt

Could you please upgrade the codebase for go 1.16 and above?

dhirajsittu781 avatar Jun 26 '22 14:06 dhirajsittu781

I fixed go version in go.mod.

Please check in v1.0.9

Reference: https://github.com/ggwhite/go-masker/pull/18#commitcomment-76308471

ggwhite avatar Jun 27 '22 03:06 ggwhite