UX lacking for tools management with go mod #35494
Labels
FrozenDueToAge
WaitingForInfo
Issue is not actionable because of missing required information, which needs to be provided.
This is the recommended way to track tools dependencies in Go involves parsing a
tools.go
:https://marcofranssen.nl/manage-go-tools-via-go-modules/
That's a far cry from the tool management experience available today in Node.js, Python, and Ruby, where tools are already supported on par with libraries.
We could have a short term solution available very quickly, with some minor changes to the Go ecosystem to promote
tools.go
to an official standard:golint
,go vet
, etc. would accept applications in imports.go mod tidy
would install any applications noted intools.go
.go mod tidy
andgo install
would improve support and documentation for specifying any custom build tags.I'm not sure if tools.go is a long term strategy for tracking tools dependencies, but it's a start. Can we please get a better developer workflow than parsing Go code with awk?
The text was updated successfully, but these errors were encountered: