go/src/context
Michael Stapelberg 2915e44dac context: fix lint warning “drop = 0 from declaration”
Previously, the suggested code would result in the following golint warning:
“should drop = 0 from declaration of var errorsOnlyKey; it is the zero value”

Change-Id: I1a302c1e40ca89acbc76897e39097ecd04865460
Reviewed-on: https://go-review.googlesource.com/60290
Reviewed-by: Ian Lance Taylor <iant@golang.org>
2017-08-30 17:06:30 +00:00
..
benchmark_test.go context: adjust tests to avoid importing "testing" in package context 2016-11-03 21:12:21 +00:00
context.go context: fix lint warning “drop = 0 from declaration” 2017-08-30 17:06:30 +00:00
context_test.go all: fix minor misspellings 2017-04-03 23:19:07 +00:00
example_test.go context: add comments to the WithCancel example, apply minor improvements 2016-10-26 22:35:07 +00:00
net_test.go context: make DeadlineExceeded implement net.Error 2016-10-05 15:53:04 +00:00
x_test.go context: adjust tests to avoid importing "testing" in package context 2016-11-03 21:12:21 +00:00