how to version go module
Say your module is in /somepath in your repo.
Then you tag “somepath/vX.Y.Z”
Then, you can import the version vX.Y.Z from another module.