github.com/gagliardetto/golang-go@v0.0.0-20201020153340-53909ea70814/cmd/go/testdata/script/mod_install_versioned.txt (about)

     1  env GO111MODULE=on
     2  
     3  go list -f '{{.Target}}' rsc.io/fortune
     4  ! stdout fortune@v1
     5  stdout 'fortune(\.exe)?$'
     6  
     7  go list -f '{{.Target}}' rsc.io/fortune/v2
     8  ! stdout v2
     9  stdout 'fortune(\.exe)?$'
    10  
    11  -- go.mod --
    12  module m