go/src/context
Damien Neil 0e54d28ff7 all: remove os.ErrTimeout
It is unclear whether the current definition of os.IsTimeout is
desirable or not. Drop ErrTimeout for now so we can consider adding it
(or some other error) in a future release with a corrected definition.

Fixes #33411

Change-Id: I8b880da7d22afc343a08339eb5f0efd1075ecafe
Reviewed-on: https://go-review.googlesource.com/c/go/+/188758
Reviewed-by: Russ Cox <rsc@golang.org>
Run-TryBot: Damien Neil <dneil@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
2019-08-02 17:57:18 +00:00
..
benchmark_test.go context: add benchmarks for context cancellation 2018-05-29 21:57:30 +00:00
context.go all: remove os.ErrTimeout 2019-08-02 17:57:18 +00:00
context_test.go all: remove os.ErrTimeout 2019-08-02 17:57:18 +00:00
example_test.go all: s/cancelation/cancellation/ 2019-04-16 20:27:15 +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