Text file src/cmd/go/testdata/script/mod_gopkg_unstable.txt
1 env GO111MODULE=on 2 3 cp go.mod.empty go.mod 4 go get gopkg.in/dummy.v2-unstable 5 6 cp x.go.txt x.go 7 cp go.mod.empty go.mod 8 go list 9 10 [!net] skip 11 [!exec:git] skip 12 13 env GOPROXY=direct 14 env GOSUMDB=off 15 go get gopkg.in/macaroon-bakery.v2-unstable/bakery 16 go list -m all 17 stdout 'gopkg.in/macaroon-bakery.v2-unstable v2.0.0-[0-9]+-[0-9a-f]+$' 18 19 -- go.mod.empty -- 20 module m 21 22 -- x.go.txt -- 23 package x 24 import _ "gopkg.in/dummy.v2-unstable" 25