...

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

Documentation: cmd/go/testdata/script

     1env GO111MODULE=on
     2
     3[!net:golang.org] skip
     4[!net:proxy.golang.org] skip
     5
     6env GOPROXY=https://proxy.golang.org,direct
     7env GOSUMDB=off
     8
     9go get -x -v golang.org/x/tools/cmd/goimports
    10stderr '# get https://proxy.golang.org/golang.org/x/tools/@v/list'
    11! stderr '# get https://golang.org'
    12
    13-- go.mod --
    14module m
    15
    16go 1.18

View as plain text