Text file src/cmd/go/testdata/script/work_gowork.txt
1 env GOWORK=stop.work 2 ! go list a # require absolute path 3 ! stderr panic 4 env GOWORK=doesnotexist 5 ! go list a 6 ! stderr panic 7 8 env GOWORK=$GOPATH/src/stop.work 9 go list -n a 10 go build -n a 11 go test -n a 12 13 -- stop.work -- 14 go 1.18 15 16 use ./a 17 -- a/a.go -- 18 package a 19 -- a/a_test.go -- 20 package a 21 -- a/go.mod -- 22 module a 23 24 go 1.18