github.com/gagliardetto/golang-go@v0.0.0-20201020153340-53909ea70814/cmd/go/testdata/script/mod_download_json.txt (about) 1 env GO111MODULE=on 2 env GOPROXY=$GOPROXY/quiet 3 env GOSUMDB=$sumdb' '$proxy/sumdb-wrong 4 5 # download -json with version should print JSON on sumdb failure 6 ! go mod download -json 'rsc.io/quote@<=v1.5.0' 7 stdout '"Error": ".*verifying module' 8 9 -- go.mod -- 10 module m