projects
/
dotfiles
/
.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
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
/
simple
/
testdata
/
src
/
receive-blank
/
receive-blank.go
1
package pkg
2
3
func fn() {
4
var ch chan int
5
<-ch
6
_ = <-ch // want `unnecessary assignment to the blank identifier`
7
select {
8
case <-ch:
9
case _ = <-ch: // want `unnecessary assignment to the blank identifier`
10
}
11
x := <-ch
12
y, _ := <-ch, <-ch
13
_, z := <-ch, <-ch
14
_, _, _ = x, y, z
15
}