Giant blob of minor changes
[dotfiles/.git] / .config / coc / extensions / coc-go-data / tools / pkg / mod / honnef.co / go / tools@v0.0.1-2020.1.5 / unused / testdata / src / unused_type / unused_type.go
1 package pkg
2
3 type t1 struct{} // want `t1`
4
5 func (t1) Fn() {}
6
7 type t2 struct{}
8
9 func (*t2) Fn() {}
10
11 func init() {
12         (*t2).Fn(nil)
13 }
14
15 type t3 struct{} // want `t3`
16
17 func (t3) fn()