...

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

Documentation: cmd/go/testdata/script

     1env GO111MODULE=on
     2[!symlink] skip
     3
     4symlink dir.go -> dir
     5
     6# Issue #39841: symlinks to directories should be ignored, not treated as source files.
     7go list -f '{{range .GoFiles}}{{.}}{{"\n"}}{{end}}' .
     8stdout 'p\.go$'
     9! stdout 'dir\.go$'
    10
    11-- go.mod --
    12module example.com
    13go 1.15
    14-- p.go --
    15package p
    16-- dir/README.txt --
    17This file exists to ensure that dir is a directory.

View as plain text