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:gopkg.in] skip
11 [!git] skip
12
13 skip # TODO(#54503): redirect gopkg.in requests to a local server and re-enable.
14
15 env GOPROXY=direct
16 env GOSUMDB=off
17 go get gopkg.in/macaroon-bakery.v2-unstable/bakery
18 go list -m all
19 stdout 'gopkg.in/macaroon-bakery.v2-unstable v2.0.0-[0-9]+-[0-9a-f]+$'
20
21 -- go.mod.empty --
22 module m
23
24 -- x.go.txt --
25 package x
26 import _ "gopkg.in/dummy.v2-unstable"
27
View as plain text