]> Cypherpunks repositories - gostls13.git/commitdiff
doc/go1.1.html: document io.ErrNoProgress
authorRob Pike <r@golang.org>
Fri, 19 Apr 2013 00:37:09 +0000 (17:37 -0700)
committerRob Pike <r@golang.org>
Fri, 19 Apr 2013 00:37:09 +0000 (17:37 -0700)
R=golang-dev, bradfitz
CC=golang-dev
https://golang.org/cl/8833050

doc/go1.1.html

index 71517fc2d812f649b13bd891433f200b9a5285f2..46174aad10604bcf6fb1ae1c238078025e523753 100644 (file)
@@ -832,6 +832,8 @@ reads progressive JPEG files and handles a few more subsampling configurations.
 The <a href="/pkg/io/"><code>io</code></a> package now exports the
 <a href="/pkg/io/#ByteWriter"><code>io.ByteWriter</code></a> interface to capture the common
 functionality of writing a byte at a time.
+It also exports a new error, <a href="/pkg/io/#ErrNoProgress"><code>ErrNoProgress</code></a>,
+used to indicate a <code>Read</code> implementation is looping without delivering data.
 </li>
 
 <li>