projects
/
dotfiles
/
.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
.gitignore added
[dotfiles/.git]
/
.config
/
coc
/
extensions
/
coc-go-data
/
tools
/
pkg
/
mod
/
honnef.co
/
go
/
tools@v0.1.1
/
unused
/
testdata
/
src
/
elem
/
elem.go
1
// Test of field usage detection
2
3
package pkg
4
5
type t15 struct { // used
6
f151 int // used
7
}
8
type a2 [1]t15 // used
9
10
type t16 struct{} // used
11
type a3 [1][1]t16 // used
12
13
func foo() { // used
14
_ = a2{0: {1}}
15
_ = a3{{{}}}
16
}
17
18
func init() { foo() } // used