...

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[!net:cloud.google.com] skip
     6[!git] skip
     7
     8env GO111MODULE=on
     9env GOPROXY=direct
    10env GOSUMDB=off
    11
    12go list -m cloud.google.com/go@main
    13! stdout 'v0.0.0-'
    14
    15-- go.mod --
    16module example.com
    17
    18go 1.14
    19-- go.sum --

View as plain text