go/src
Ian Lance Taylor 187957d370 os: add deadline methods for File type
Add SetDeadline, SetReadDeadline, and SetWriteDeadline methods to os.File,
just as they exist today for the net package.

Fixes #22114

Change-Id: I4d390d739169b991175baba676010897dc8568fa
Reviewed-on: https://go-review.googlesource.com/71770
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: David Crawshaw <crawshaw@golang.org>
Reviewed-by: Joe Tsai <thebrokentoaster@gmail.com>
2017-10-25 18:27:06 +00:00
..
archive archive/tar: ignore ChangeTime and AccessTime unless Format is specified 2017-10-10 20:13:27 +00:00
bufio
builtin
bytes bytes: add examples of Equal and IndexByte 2017-10-16 03:34:28 +00:00
cmd cmd/go: explain fmt, fix, vet a bit more in go help 2017-10-25 15:47:45 +00:00
compress
container container/ring: add examples for various Ring functions 2017-10-25 13:34:06 +00:00
context
crypto crypto/elliptic: don't unmarshal invalid encoded points 2017-10-15 02:24:19 +00:00
database/sql database/sql: ensure all driver interfaces are called under single lock 2017-10-25 17:21:58 +00:00
debug debug/dwarf: clarify StructField.ByteSize doc 2017-10-18 21:45:30 +00:00
encoding encoding/csv: forbid certain Comma and Comment runes 2017-10-25 01:43:46 +00:00
errors
expvar
flag flag: simplify switch-case in isZeroValue 2017-10-17 20:23:14 +00:00
fmt fmt: clarify wording of * flag 2017-10-15 06:03:34 +00:00
go go/types: improved documentation for WriteExpr and ExprString 2017-10-23 18:10:06 +00:00
hash
html
image image/gif: avoid setting defers in the decode loop 2017-10-23 22:59:18 +00:00
index/suffixarray
internal os: add deadline methods for File type 2017-10-25 18:27:06 +00:00
io io: simplify pipe implementation 2017-10-11 20:00:54 +00:00
log log: Remove unnecessary else 2017-10-25 05:02:37 +00:00
math math/big: implement Lehmer's GCD algorithm 2017-10-24 22:42:43 +00:00
mime mime/multipart: permit empty file name 2017-10-24 20:21:03 +00:00
net runtime: for kqueue treat EVFILT_READ with EV_EOF as permitting a write 2017-10-20 22:26:30 +00:00
os os: add deadline methods for File type 2017-10-25 18:27:06 +00:00
path
plugin
reflect reflect: allow Copy to a byte array or byte slice from a string 2017-10-13 02:35:56 +00:00
regexp
runtime runtime: avoid monotonic time zero on systems with low-res timers 2017-10-25 17:10:20 +00:00
sort
strconv unicode: update to Unicode 10.0.0 2017-10-24 12:42:35 +00:00
strings
sync
syscall syscall: correct type for timeout argument to Select on linux/{arm64,mips64x} 2017-10-13 14:01:17 +00:00
testing testing/iotest: fix NewReadLogger documentation typo 2017-10-19 15:59:21 +00:00
text text/template: add break, continue actions in ranges 2017-10-17 02:06:15 +00:00
time
unicode unicode: update to Unicode 10.0.0 2017-10-24 12:42:35 +00:00
unsafe
vendor/golang_org/x unicode: update to Unicode 10.0.0 2017-10-24 12:42:35 +00:00
Make.dist
all.bash
all.bat
all.rc
androidtest.bash
bootstrap.bash
buildall.bash
clean.bash
clean.bat
clean.rc
cmp.bash
iostest.bash
make.bash build: move final steps of make.bash, make.bat, make.rc into cmd/dist 2017-10-25 01:13:01 +00:00
make.bat build: move final steps of make.bash, make.bat, make.rc into cmd/dist 2017-10-25 01:13:01 +00:00
make.rc build: move final steps of make.bash, make.bat, make.rc into cmd/dist 2017-10-25 01:13:01 +00:00
naclmake.bash
nacltest.bash
race.bash
race.bat
run.bash
run.bat
run.rc