title: Go modules: checksum mismatch
body: <p>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 codebase on another machine.</p>
  
  <p>The issue always concerns the same third party dependency (github.com/ericlagergren/decimal):</p>
  
  <pre><code>go: verifying github.com/ericlagergren/decimal@v0.0.0-20181231230500-73749d4874d5: checksum mismatch
      downloaded: h1:HQGCJNlqt1dUs/BhtEKmqWd6LWS+DWYVxi9+Jo4r0jE=
      go.sum:     h1:x4oNpFLLl+8l+iLgksNHzZewTS0SKp6m0hlLwzXRbqA=
  </code></pre>
  
  <p>I've tried various things: removing &amp; regenerating <code>go.sum</code>, upgrading Go itself to the latest patch version and removing the dependency from <code>go.mod</code> but nothing seems to fix this issue.</p>
  
  <p>Does anyone have an idea how to fix this issue?</p>