News for hackers. Stuff that matters.
Re:Proposals for Go 1.15 by tikkabhuna on Wednesday January 29, 2020 @05:39AM (#22179158)
One idea I like is to be able to depend on a branch. In Java it would be nice to depend on a branch, rather than dealing with snapshots.

Obviously that comes at the cost of coupling with the VCS. Maybe its not worth it. Interesting idea though.

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.
Re:Proposals for Go 1.15 by simiones on Wednesday January 29, 2020 @11:43AM (#22182557)
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.