...

Text file src/cmd/go/testdata/script/work_use_issue50958.txt

Documentation: cmd/go/testdata/script

     1go work use -r .
     2cmp go.work go.work.want
     3
     4-- go.mod --
     5module example
     6go 1.18
     7-- go.work --
     8go 1.18
     9
    10use sub
    11-- go.work.want --
    12go 1.18
    13
    14use .
    15-- sub/README.txt --
    16This directory no longer contains a go.mod file.
    17

View as plain text