]> Cypherpunks.ru repositories - gostls13.git/commit
io: revert: add an Err field to LimitedReader
authorRuss Cox <rsc@golang.org>
Fri, 3 Jun 2022 20:00:16 +0000 (16:00 -0400)
committerGopher Robot <gobot@golang.org>
Sat, 4 Jun 2022 14:00:38 +0000 (14:00 +0000)
commitf8a53df314e4af8cd350eedb0dae77d4c4fc30d0
tree87799bdeda270fe74bc07380d57c94b9ea60b07f
parent21f05284c79c3e823169c62d189826f735006d43
io: revert: add an Err field to LimitedReader

We are having a hard time deciding the exact semantics
of the Err field, and we need to ship the beta.
So revert the Err field change; it can wait for Go 1.20.

For #51115.

This reverts CL 396215.

Change-Id: I7719386567d3da10a614058a11f19dbccf304b4d
Reviewed-on: https://go-review.googlesource.com/c/go/+/410133
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Run-TryBot: Russ Cox <rsc@golang.org>
Reviewed-by: Bryan Mills <bcmills@google.com>
Auto-Submit: Russ Cox <rsc@golang.org>
api/next/51115.txt [deleted file]
src/io/example_test.go
src/io/io.go