aboutsummaryrefslogtreecommitdiff
path: root/api
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2016-05-24 09:42:33 -0400
committerRuss Cox <rsc@golang.org>2016-05-24 15:37:27 +0000
commit524956f8b976be2b7be829a2d0d87c2951932ac6 (patch)
treeeb8ddbd4c21bfb7901da854646fff0bc5215e28f /api
parentba867a86fa28f9edca64b682bc2df66e73967f56 (diff)
downloadgo-524956f8b976be2b7be829a2d0d87c2951932ac6.tar.gz
go-524956f8b976be2b7be829a2d0d87c2951932ac6.zip
io: remove SizedReaderAt
It's not clear we want to enshrine an io interface in which Size cannot return an error. Because this requires more thought before committing to the API, remove from Go 1.7. Fixes #15818. Change-Id: Ic4138ffb0e033030145a12d33f78078350a8381f Reviewed-on: https://go-review.googlesource.com/23392 Reviewed-by: Austin Clements <austin@google.com> Run-TryBot: Russ Cox <rsc@golang.org>
Diffstat (limited to 'api')
-rw-r--r--api/next.txt3
1 files changed, 0 insertions, 3 deletions
diff --git a/api/next.txt b/api/next.txt
index ae60f2d73a..5ae56c126a 100644
--- a/api/next.txt
+++ b/api/next.txt
@@ -167,9 +167,6 @@ pkg io, const SeekEnd = 2
pkg io, const SeekEnd ideal-int
pkg io, const SeekStart = 0
pkg io, const SeekStart ideal-int
-pkg io, type SizedReaderAt interface { ReadAt, Size }
-pkg io, type SizedReaderAt interface, ReadAt([]uint8, int64) (int, error)
-pkg io, type SizedReaderAt interface, Size() int64
pkg math/big, method (*Float) GobDecode([]uint8) error
pkg math/big, method (*Float) GobEncode() ([]uint8, error)
pkg net, method (*Dialer) DialContext(context.Context, string, string) (Conn, error)