github.com/april1989/origin-go-tools@v0.0.32/cmd/guru/testdata/src/what/main.go (about) 1 package main // @what pkgdecl "main" 2 3 // Tests of 'what' queries. 4 // See go.tools/guru/guru_test.go for explanation. 5 // See what.golden for expected query results. 6 7 func main() { 8 f() // @what call "f" 9 var ch chan int // @what var "var" 10 <-ch // @what recv "ch" 11 }