I recently started using modules in Go, but I frequently encounter issues where everything works fine on one machine, but a checksum mismatch is encountered when building the co
Which version of Go are you using? There's a good chance you're running into the aftermath of the 1.11.2 -> 1.11.4
:
Which still isn't completely resolved. Remember that go mod
is still in development, so things like this will probably happen up and until 1.13.
Be sure to read up on minor releases for Go, and how these things can happen: https://github.com/golang/go/wiki/MinorReleases
TL;DR - Upgrade Go