github.com/AndrienkoAleksandr/go@v0.0.19/src/go/doc/testdata/examples/whole_file.golden (about)

     1  -- .Play --
     2  package main
     3  
     4  import "fmt"
     5  
     6  type X int
     7  
     8  func (X) Foo() {
     9  }
    10  
    11  func (X) TestBlah() {
    12  }
    13  
    14  func (X) BenchmarkFoo() {
    15  }
    16  
    17  func main() {
    18  	fmt.Println("Hello, world!")
    19  }
    20  -- .Output --
    21  Hello, world!