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
/
staticcheck
/
testdata
/
src
/
CheckDubiousDeferInChannelRangeLoop
/
CheckDubiousDeferInChannelRangeLoop.go
1
package pkg
2
3
func fn() {
4
var ch chan int
5
for range ch {
6
defer println() // want `defers in this range loop`
7
}
8
}