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