Check actuality of go.mod and go.sum

It happens in practice that you have to revise a merge request and see suspicious changes in go.mod and go.sum, maybe only one file is changed, and a legitimate question arises, whether these changes are necessary, or whether it was accidentally added to a commit, maybe a colleague forgot to add another file to the commit or to run go mod tidy after removing a dependency? Or maybe it was you yourself who added extra changes in previous commits?

[Read More]
golang  go  gitlab  ci