cmd/run: error hint for "no required module provides package" is not helpful #60944
Labels
GoCommand
cmd/go
help wanted
NeedsFix
The path to resolution is known, but the work has not been done.
Milestone
In a directory that contains a
go.mod
, use go run to run a package that is not in the dependency graph with no version specified. Currently we tell you togo get tool
. This probably isn't what you want (it will temporarily add the tool to your module, but it will be removed on the nextgo mod tidy
). We should consider removing this hint.I created this issue to track the work mentioned on this comment from @rsc on #48429 (comment)
The text was updated successfully, but these errors were encountered: