Re:Proposals for Go 1.15
by LadyCailin on Wednesday January 29, 2020 @06:45AM
(#22179511)
The idea of a “branch” is not particularly novel, and I think any useful VCS will have an equivalence. I’d be perfectly fine with relying on that as much as I do any other aspect of a package manager.
Isn't that much harder to do with Go mod than with Maven?
With Maven, you can define your own versioning scheme and easily include the branch as a component of the version "number".
In Go mod, as far as I can tell, you have to have a Semver vMAJOR.MINOR.PATCH version, which is much more difficult to adjust for short-lived branches.
Obviously that comes at the cost of coupling with the VCS. Maybe its not worth it. Interesting idea though.