aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/go/testdata/script/run_hello_pkg.txt
blob: ea2b4d7cdeef908e178d496294a161a070c1f894 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
go run m/hello
stderr 'hello, world'

cd hello
go run .
stderr 'hello, world'

-- go.mod --
module m

go 1.16
-- hello/hello.go --
package main

func main() {
	println("hello, world")
}