In case a go module does not have any tags (such as https://cs.opensource.google/go/x/perf) then allow for version resolution logic to provide latest as a valid resolved value.
Ideally in the future this would fall back to a remote git version resolver and select a commit, however, this is also a good (and easier) option in the mean time. The downside with this current approach is that the version value cannot be used to detect staleness of the installation.
In case a go module does not have any tags (such as https://cs.opensource.google/go/x/perf) then allow for version resolution logic to provide
latest
as a valid resolved value.Ideally in the future this would fall back to a remote
git
version resolver and select a commit, however, this is also a good (and easier) option in the mean time. The downside with this current approach is that the version value cannot be used to detect staleness of the installation.