.gitignore added
[dotfiles/.git] / .config / coc / extensions / coc-go-data / tools / pkg / mod / honnef.co / go / tools@v0.1.1 / unused / testdata / src / exported_fields / exported_fields.go
1 package pkg
2
3 type t1 struct { // used
4         F1 int // used
5 }
6
7 type T2 struct { // used
8         F2 int // used
9 }
10
11 var v struct { // used
12         T3 // used
13 }
14
15 type T3 struct{} // used
16
17 func (T3) Foo() {} // used
18
19 func init() { // used
20         v.Foo()
21 }
22
23 func init() { // used
24         _ = t1{}
25 }
26
27 type codeResponse struct { // used
28         Tree *codeNode `json:"tree"` // used
29 }
30
31 type codeNode struct { // used
32 }
33
34 func init() { // used
35         _ = codeResponse{}
36 }