github.com/gagliardetto/golang-go@v0.0.0-20201020153340-53909ea70814/cmd/go/testdata/script/mod_get_newcycle.txt (about) 1 env GO111MODULE=on 2 3 # Download modules to avoid stderr chatter 4 go mod download example.com@v1.0.0 5 go mod download example.com/newcycle/a@v1.0.0 6 go mod download example.com/newcycle/a@v1.0.1 7 go mod download example.com/newcycle/b@v1.0.0 8 9 go mod init m 10 ! go get example.com/newcycle/a@v1.0.0 11 cmp stderr stderr-expected 12 13 -- stderr-expected -- 14 go get: inconsistent versions: 15 example.com/newcycle/a@v1.0.0 requires example.com/newcycle/a@v1.0.1 (not example.com/newcycle/a@v1.0.0)