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
/
type-dedup2
/
dedup.go
1
package pkg
2
3
func fn1(t struct { // used
4
a int // used
5
b int // used
6
}) {
7
println(t.a)
8
fn2(t)
9
}
10
11
func fn2(t struct { // used
12
a int // used
13
b int // used
14
}) {
15
println(t.b)
16
}
17
18
func Fn() { // used
19
fn1(struct {
20
a int // used
21
b int // used
22
}{})
23
}