Commit 7b8234b4 authored by Jonathan Amsterdam's avatar Jonathan Amsterdam Committed by Andrew Bonventre

go1.13.html: release note for %w

Also, reorder packages so the list is in alphabetical order.

Fixes #32914.

Change-Id: Ifa504cb7e48df31ba6dc0e5756148430b59fa139
Reviewed-on: https://go-review.googlesource.com/c/go/+/187797Reviewed-by: default avatarEmmanuel Odeke <emm.odeke@gmail.com>
Reviewed-by: default avatarAndrew Bonventre <andybons@golang.org>
parent 5235501c
...@@ -621,14 +621,17 @@ godoc ...@@ -621,14 +621,17 @@ godoc
</dl><!-- errors --> </dl><!-- errors -->
<dl id="html/template"><dt><a href="/pkg/html/template/">html/template</a></dt> <dl id="fmt"><dt><a href="/pkg/fmt/">fmt</a></dt>
<dd> <dd>
<p><!-- CL 175218 --> <!-- CL 176998 -->
When using a <code>&lt;script&gt;</code> tag with "module" set as the <p>The <a href="/pkg/fmt/#Errorf"><code>Errorf</code></a> function
type attribute, code will now be interpreted as <a href="https://html.spec.whatwg.org/multipage/scripting.html#the-script-element:module-script-2">JavaScript module script</a>. has a new verb, <code>%w</code>, whose operand must be an error.
The error returned from <code>Errorf</code> will have an
<code>Unwrap</code> method which returns the operand of <code>%w</code>.
</p> </p>
</dl><!-- html/template --> </dl><!-- fmt -->
<dl id="go/scanner"><dt><a href="/pkg/go/scanner/">go/scanner</a></dt> <dl id="go/scanner"><dt><a href="/pkg/go/scanner/">go/scanner</a></dt>
<dd> <dd>
...@@ -651,6 +654,17 @@ godoc ...@@ -651,6 +654,17 @@ godoc
</dl><!-- go/types --> </dl><!-- go/types -->
<dl id="html/template"><dt><a href="/pkg/html/template/">html/template</a></dt>
<dd>
<p><!-- CL 175218 -->
When using a <code>&lt;script&gt;</code> tag with "module" set as the
type attribute, code will now be interpreted as <a href="https://html.spec.whatwg.org/multipage/scripting.html#the-script-element:module-script-2">JavaScript module script</a>.
</p>
</dl><!-- html/template -->
<dl id="log"><dt><a href="/pkg/log/">log</a></dt> <dl id="log"><dt><a href="/pkg/log/">log</a></dt>
<dd> <dd>
<p><!-- CL 168920 --> <p><!-- CL 168920 -->
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment