Giant blob of minor changes
[dotfiles/.git] / .config / coc / extensions / coc-go-data / tools / pkg / mod / golang.org / x / tools@v0.0.0-20201105173854-bc9fc8d8c4bc / internal / lsp / testdata / godef / a / f.go
1 package a
2
3 import "fmt"
4
5 func TypeStuff() { //@Stuff
6         var x string
7
8         switch y := interface{}(x).(type) { //@mark(switchY, "y"),godef("y", switchY)
9         case int: //@mark(intY, "int")
10                 fmt.Printf("%v", y) //@hover("y", intY)
11         case string: //@mark(stringY, "string")
12                 fmt.Printf("%v", y) //@hover("y", stringY)
13         }
14
15 }