projects
/
dotfiles
/
.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Update .bashrc
[dotfiles/.git]
/
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
}