diff options
Diffstat (limited to 'src/go/doc/testdata/examples/whole_function.golden')
-rw-r--r-- | src/go/doc/testdata/examples/whole_function.golden | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/go/doc/testdata/examples/whole_function.golden b/src/go/doc/testdata/examples/whole_function.golden new file mode 100644 index 0000000..7d5b5cb --- /dev/null +++ b/src/go/doc/testdata/examples/whole_function.golden @@ -0,0 +1,11 @@ +-- .Play -- +package main + +func Foo(x int) { +} + +func main() { + fmt.Println("Hello, world!") +} +-- .Output -- +Hello, world! |