summaryrefslogtreecommitdiffstats
path: root/src/go/doc/testdata/examples/whole_file.golden
blob: 74a2291f5140a5635942d8d9c42b62afc55bd75e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
-- .Play --
package main

import "fmt"

type X int

func (X) Foo() {
}

func (X) TestBlah() {
}

func (X) BenchmarkFoo() {
}

func main() {
	fmt.Println("Hello, world!")
}
-- .Output --
Hello, world!