...

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

Documentation: cmd/go/testdata/script

     1# The directory named go.mod should be ignored
     2
     3env GO111MODULE=on
     4
     5cd $WORK/sub
     6
     7go list .
     8stdout 'x/sub'
     9
    10mkdir go.mod
    11exists go.mod
    12
    13go list .
    14stdout 'x/sub'
    15
    16-- $WORK/go.mod --
    17module x
    18
    19-- $WORK/sub/x.go --
    20package x

View as plain text