News for hackers. Stuff that matters.
Re:Go 1.24's go tool is one of the best additions to the eco... by mseepgood on Tuesday January 28, 2025 @07:24AM (#42851533)
> Using "go tool" forces you to have a bunch of dependencies in your go.mod

No, it doesn't. You can use "go tool -modfile=tools.mod mytool" if you want them separate.

Re:Go 1.24's go tool is one of the best additions to the eco... by jen20 on Tuesday January 28, 2025 @07:52AM (#42851733)
This should almost certainly be the default recommendation.
Re:Go 1.24's go tool is one of the best additions to the eco... by jcmfernandes on Tuesday January 28, 2025 @09:51AM (#42852945)
I built a simple tool to generate binstubs and work around this problem: https://github.com/jcmfernandes/go-tools-binstubs

However, having multiple tools share a single mod file still proves problematic occasionally, due to incompatible dependencies.

Re:Go 1.24's go tool is one of the best additions to the eco... by nijave on Wednesday January 29, 2025 @01:39PM (#42869220)
That seems like it should have been the default