LittleDemon WebShell


Linux in-mum-web1499.main-hosting.eu 5.14.0-503.40.1.el9_5.x86_64 #1 SMP PREEMPT_DYNAMIC Mon May 5 06:06:04 EDT 2025 x86_64
Path : /opt/golang/1.22.0/src/cmd/go/testdata/script/
File Upload :
Command :
Current File : //opt/golang/1.22.0/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

LittleDemon - FACEBOOK
[ KELUAR ]