/ go Public
cmd/go: work use . does nothing in non module root #53090
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
What version of Go are you using (
Does this issue reproduce with the latest release?
What operating system and processor architecture are you using (
What did you do?
with the following directory tree:
go work use .in
What did you expect to see?
module defined at
What did you see instead?
nothing happened (see also #51965)
go help work usesays
usage: go work use [-r] moddirs,
but it would be more ergonomic to have
golook upwards for the moddir,
go work use $(dirname $(go env GOMOD))
cc @bcmills @matloob
The text was updated successfully, but these errors were encountered: