Commit 15bc0a12 authored by Ian Lance Taylor's avatar Ian Lance Taylor

doc/go1.10: mention new os.IsTimeout function

Change-Id: I84fd3912163ca262df5d7d4690c0dd7e136e79ca
Reviewed-on: https://go-review.googlesource.com/85938Reviewed-by: default avatarBrad Fitzpatrick <bradfitz@golang.org>
parent 7f1c4b3a
......@@ -1271,6 +1271,10 @@ and
that allow setting I/O deadlines when the
underlying file descriptor supports non-blocking I/O operations.
The definition of these methods matches those in <a href="/pkg/net/#Conn"><code>net.Conn</code></a>.
If an I/O method fails due to missing a deadline, it will return a
timeout error; the
new <a href="/pkg/os/#IsTimeout"><code>IsTimeout</code></a> function
reports whether an error represents a timeout.
</p>
<p>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment