...

Text file src/cmd/go/testdata/script/mod_get_future.txt

Documentation: cmd/go/testdata/script

     1env TESTGO_VERSION=go1.21
     2env GOTOOLCHAIN=local
     3! go mod download rsc.io/future@v1.0.0
     4stderr '^go: rsc.io/future@v1.0.0 requires go >= 1.999 \(running go 1.21; GOTOOLCHAIN=local\)$'
     5
     6-- go.mod --
     7module m
     8go 1.21
     9
    10-- x.go --
    11package p
    12
    13import "rsc.io/future/foo"

View as plain text