1
0
mirror of https://github.com/golang/go synced 2024-10-03 17:21:21 -06:00
go/src/context
Russ Cox f69991c17d context: make DeadlineExceeded implement net.Error
It already implemented the Timeout method,
but implementing the full net.Error is more convenient.

Fixes #14238 (again).

Change-Id: Ia87f897f0f35bcb49865e2355964049227951ca6
Reviewed-on: https://go-review.googlesource.com/30370
Run-TryBot: Russ Cox <rsc@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2016-10-05 15:53:04 +00:00
..
context_test.go context: reduce memory usage of context tree 2016-09-09 02:30:22 +00:00
context.go context: make DeadlineExceeded implement net.Error 2016-10-05 15:53:04 +00:00
example_test.go context: add examples 2016-09-09 22:50:41 +00:00
net_test.go context: make DeadlineExceeded implement net.Error 2016-10-05 15:53:04 +00:00