%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /usr/local/go119/src/cmd/go/testdata/script/
Upload File :
Create Path :
Current File : //usr/local/go119/src/cmd/go/testdata/script/issue53586.txt

[short] skip  # sleeps to make mtime cacheable

go mod init example

cd subdir
go mod init example/subdir
sleep 2s  # allow go.mod mtime to be cached

go list -f '{{.Dir}}: {{.ImportPath}}' ./pkg
stdout $PWD${/}pkg': example/subdir/pkg$'

rm go.mod  # expose ../go.mod

go list -f '{{.Dir}}: {{.ImportPath}}' ./pkg
stdout $PWD${/}pkg': example/subdir/pkg$'

-- subdir/pkg/pkg.go --
package pkg

Zerion Mini Shell 1.0