I can admit that part was maybe a bit extreme :) fortunately in practice this would be a pretty rare situation IME due to how compatible Go is across versions.
I’m afraid setting a version lower than the one you’re using means you have to setup a CI of some kind to verify compilation does indeed work for previous versions of go.
Maybe that’s why some author do not bother and put the version they are using (though I do agree it is a bad practice indeed).
Maybe that’s why some author do not bother and put the version they are using (though I do agree it is a bad practice indeed).