...

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

Documentation: cmd/go/testdata/script

     1[short] skip
     2go run example.com/printversion@v0.1.0
     3stdout '^main is example.com/printversion v0.1.0$'
     4
     5-- go.work --
     6go 1.18
     7
     8use (
     9	.
    10)
    11-- go.mod --
    12module example
    13
    14go 1.18
    15
    16require example.com/printversion v1.0.0

View as plain text