| 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/ |
| Current File : //opt/golang/1.22.0/src/cmd/go/testdata/script/mod_doc_path.txt |
# cmd/doc should use GOROOT to locate the 'go' command, # not use whatever is in $PATH. # Remove 'go' from $PATH. (It can still be located via $GOROOT/bin/go, and the # test script's built-in 'go' command still knows where to find it.) env PATH='' [GOOS:plan9] env path='' go doc p.X -- go.mod -- module example go 1.19 require example.com/p v0.1.0 replace example.com/p => ./pfork -- example.go -- package example import _ "example.com/p" -- pfork/go.mod -- module example.com/p go 1.19 -- pfork/p.go -- package p const X = 42