github.com/gagliardetto/golang-go@v0.0.0-20201020153340-53909ea70814/cmd/go/testdata/script/run_hello_pkg.txt (about)

     1  cd $GOPATH
     2  go run hello
     3  stderr 'hello, world'
     4  
     5  cd src/hello
     6  go run .
     7  stderr 'hello, world'
     8  
     9  -- hello/hello.go --
    10  package main
    11  
    12  func main() {
    13  	println("hello, world")
    14  }