From 98e1bd2b79bb7da0743450d9e6c0b622ff1e681f Mon Sep 17 00:00:00 2001 From: Andrew Date: Mon, 24 Jun 2019 15:28:00 -0400 Subject: [PATCH] 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 --- doc/go1.13.html | 30 ++++++++++++++++++------------ 1 file changed, 18 insertions(+), 12 deletions(-) diff --git a/doc/go1.13.html b/doc/go1.13.html index b5e6257008..ec28e38e97 100644 --- a/doc/go1.13.html +++ b/doc/go1.13.html @@ -34,10 +34,6 @@ Do not send CLs removing the interior tags from such phrases. different ones.

-

-TODO -

-

Changes to the language

@@ -346,10 +342,6 @@ godoc

Core library

-

-TODO generally -

-

TLS 1.3

@@ -383,10 +375,6 @@ TODO generally in mind.

-

-TODO -

-
bytes

@@ -454,6 +442,24 @@ TODO

+
errors
+
+ +

+ The new function As finds the first error in a given error’s chain + that matches a given target’s type, and if so, sets the target to that error value. +

+

+ The new function Is reports whether a given error value matches an + error in another’s chain. +

+

+ The new function Unwrap returns the result of calling + Unwrap on a given error, if one exists. +

+ +
+
html/template

-- 2.50.0