Should go.sum file be checked in to the git repository? : <p>I have a program with source code hosted on GitHub that uses Go Modules introduced in go 1.11.</p>

<p><code>go.mod</code> file describes my dependencies, but <code>go.sum</code> file seems to be a lockfile. Should I be adding <code>go.sum</code> to my repository or should I gitignore it?</p>
