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

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

View as plain text