github.com/gagliardetto/golang-go@v0.0.0-20201020153340-53909ea70814/cmd/go/testdata/script/mod_init_glide.txt (about) 1 [!net] skip 2 [!exec:git] skip 3 4 env GO111MODULE=on 5 env GOPROXY=direct 6 7 # Regression test for golang.org/issue/32161: 8 # 'go mod init' did not locate tags when resolving a commit to a pseudo-version. 9 go mod init x 10 cmpenv go.mod go.mod.out 11 12 -- main.go -- 13 package main 14 15 import ( 16 _ "github.com/rsc/legacytest" 17 ) 18 19 func main() {} 20 21 -- glide.lock -- 22 imports: 23 - name: github.com/rsc/legacytest 24 version: fb3c628075e32f7f3c248a3abbdafd69ad6e21e1 25 26 -- glide.yaml -- 27 package: x 28 29 -- go.mod.out -- 30 module x 31 32 go $goversion 33 34 require github.com/rsc/legacytest v1.1.0-pre.0.20180717164849-fb3c628075e3