...

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

Documentation: cmd/go/testdata/script

     1env GO111MODULE=on
     2
     3cp go.mod.empty go.mod
     4go get gopkg.in/dummy.v2-unstable
     5
     6cp x.go.txt x.go
     7cp go.mod.empty go.mod
     8go list
     9
    10[!net:gopkg.in] skip
    11[!git] skip
    12
    13skip  # TODO(#54503): redirect gopkg.in requests to a local server and re-enable.
    14
    15env GOPROXY=direct
    16env GOSUMDB=off
    17go get gopkg.in/macaroon-bakery.v2-unstable/bakery
    18go list -m all
    19stdout 'gopkg.in/macaroon-bakery.v2-unstable v2.0.0-[0-9]+-[0-9a-f]+$'
    20
    21-- go.mod.empty --
    22module m
    23
    24-- x.go.txt --
    25package x
    26import _ "gopkg.in/dummy.v2-unstable"

View as plain text