tools/go/analysis/passes/lostcancel
Daniel Martí 70b12541d3 go/analysis: unindent some pieces of code
All of these were quite heavily indented for no good reason; breaking or
returning early makes the code easier to read and follow.

Change-Id: Ic539517b07604d71495277b16f1b7eb60d2e3d3c
Reviewed-on: https://go-review.googlesource.com/c/149978
Run-TryBot: Daniel Martí <mvdan@mvdan.cc>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Alan Donovan <adonovan@google.com>
2018-11-19 11:39:21 +00:00
..
cmd/lostcancel go/analysis/passes/lostcancel: split out from vet 2018-10-08 17:32:00 +00:00
testdata/src cmd/vet: lostcancel: suppress the check in the main.main function 2018-11-09 18:25:37 +00:00
lostcancel.go go/analysis: unindent some pieces of code 2018-11-19 11:39:21 +00:00
lostcancel_test.go cmd/vet: lostcancel: suppress the check in the main.main function 2018-11-09 18:25:37 +00:00