github.com/gagliardetto/golang-go@v0.0.0-20201020153340-53909ea70814/cmd/go/testdata/script/mod_proxy_https.txt (about) 1 env GO111MODULE=on 2 3 # GOPROXY file paths must provide the "file://" prefix explicitly. 4 env GOPROXY=$WORK/proxydir 5 ! go list -versions -m golang.org/x/text 6 stderr 'invalid proxy URL.*proxydir' 7 8 [!net] stop 9 10 # GOPROXY HTTPS paths may elide the "https://" prefix. 11 # (See golang.org/issue/32191.) 12 env GOPROXY=proxy.golang.org 13 go list -versions -m golang.org/x/text 14 15 -- go.mod -- 16 module example.com 17 go 1.13 18 -- $WORK/proxydir/README.md -- 19 This proxy contains no data.