...

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

Documentation: cmd/go/testdata/script

     1env GO111MODULE=on
     2
     3go mod graph
     4stdout '^m rsc.io/quote@v1.5.2$'
     5stdout '^rsc.io/quote@v1.5.2 rsc.io/sampler@v1.3.0$'
     6! stdout '^m rsc.io/sampler@v1.3.0$'
     7! stderr 'get '$GOPROXY
     8
     9rm $GOPATH/pkg/mod/cache/download/rsc.io/quote
    10go mod graph -x
    11stderr 'get '$GOPROXY
    12
    13-- go.mod --
    14module m
    15require rsc.io/quote v1.5.2

View as plain text