1
0
mirror of https://github.com/golang/go synced 2024-11-26 16:16:57 -07:00

doc/go1.13: add release notes for the errors package

Also removes remaining TODOs

Change-Id: Id80021b7a64c923c4ebd69fb6e8831a43a76dc72
Reviewed-on: https://go-review.googlesource.com/c/go/+/183625
Reviewed-by: Katie Hockman <katie@golang.org>
This commit is contained in:
Andrew 2019-06-24 15:28:00 -04:00 committed by Andrew Bonventre
parent 1969005360
commit 98e1bd2b79

View File

@ -34,10 +34,6 @@ Do not send CLs removing the interior tags from such phrases.
different ones.
</p>
<p>
TODO
</p>
<h2 id="language">Changes to the language</h2>
<p>
@ -346,10 +342,6 @@ godoc
<h2 id="library">Core library</h2>
<p>
TODO generally
</p>
<h3 id="tls_1_3">TLS 1.3</h3>
<p>
@ -383,10 +375,6 @@ TODO generally
in mind.
</p>
<p>
TODO
</p>
<dl id="bytes"><dt><a href="/pkg/bytes/">bytes</a></dt>
<dd>
<p>
@ -454,6 +442,24 @@ TODO
</dl><!-- debug/dwarf -->
<dl id="errors"><dt><a href="/pkg/errors/">errors</a></dt>
<dd>
<!-- CL 163558 -->
<p>
The new function <a href="/pkg/errors/#As"><code>As</code></a> finds the first error in a given errors chain
that matches a given targets type, and if so, sets the target to that error value.
</p>
<p>
The new function <a href="/pkg/errors/#Is"><code>Is</code></a> reports whether a given error value matches an
error in anothers chain.
</p>
<p>
The new function <a href="/pkg/errors/#Unwrap"><code>Unwrap</code></a> returns the result of calling
<code>Unwrap</code> on a given error, if one exists.
</p>
</dl><!-- errors -->
<dl id="html/template"><dt><a href="/pkg/html/template/">html/template</a></dt>
<dd>
<p><!-- CL 175218 -->