github.com/jhump/golang-x-tools@v0.0.0-20220218190644-4958d6d39439/cmd/guru/testdata/src/what-json/main.go (about) 1 package main 2 3 import "lib" 4 5 // Tests of 'what' queries, -format=json. 6 // See go.tools/guru/guru_test.go for explanation. 7 // See what-json.golden for expected query results. 8 9 func main() { 10 f() // @what call "f" 11 } 12 13 var _ lib.Var // @what pkg "lib" 14 type _ lib.T