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 / implementation / other / other.go
1 package other
2
3 type ImpP struct{} //@mark(OtherImpP, "ImpP")
4
5 func (*ImpP) Laugh() { //@mark(OtherLaughP, "Laugh")
6 }
7
8 type ImpS struct{} //@mark(OtherImpS, "ImpS")
9
10 func (ImpS) Laugh() { //@mark(OtherLaughS, "Laugh")
11 }
12
13 type ImpI interface { //@mark(OtherLaugher, "ImpI")
14         Laugh() //@mark(OtherLaugh, "Laugh")
15 }
16
17 type Foo struct { //@implementations("Foo", Joker)
18 }
19
20 func (Foo) Joke() { //@mark(ImpJoker, "Joke"),implementations("Joke", Joke)
21 }
22
23 type CryType int
24
25 type Cryer interface { //@Cryer
26         Cry(CryType) //@Cry,implementations("Cry", CryImpl)
27 }