...

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

Documentation: cmd/go/testdata/script

     1# https://golang.org/issue/43938: 'go build' should succeed
     2# if GOPATH and the variables needed for its default value
     3# are all unset but not relevant to the specific command.
     4
     5env HOME=''
     6env home=''
     7env GOPATH=''
     8
     9go list -deps main.go
    10stdout '^io$'
    11
    12-- main.go --
    13package main
    14
    15import _ "io"

View as plain text