Black Lives Matter. Support the Equal Justice Initiative.

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

Documentation: cmd/go/testdata/script

     1  # Regression test for golang.org/issue/34092: with an empty module cache,
     2  # 'GOPROXY=direct go get golang.org/x/tools/gopls@master' did not correctly
     3  # resolve the pseudo-version for its dependency on golang.org/x/tools.
     4  
     5  [short] skip
     6  [!net] skip
     7  [!exec:git] skip
     8  
     9  env GO111MODULE=on
    10  env GOPROXY=direct
    11  env GOSUMDB=off
    12  
    13  go list -m cloud.google.com/go@master
    14  ! stdout 'v0.0.0-'
    15  
    16  -- go.mod --
    17  module example.com
    18  
    19  go 1.14
    20  -- go.sum --
    21  

View as plain text