mirror of
https://github.com/golang/go
synced 2024-11-11 22:10:22 -07:00
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/+/187797 Reviewed-by: Emmanuel Odeke <emm.odeke@gmail.com> Reviewed-by: Andrew Bonventre <andybons@golang.org>
This commit is contained in:
parent
5235501c05
commit
7b8234b48f
@ -621,14 +621,17 @@ godoc
|
||||
|
||||
</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>
|
||||
<p><!-- CL 175218 -->
|
||||
When using a <code><script></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>.
|
||||
<!-- CL 176998 -->
|
||||
<p>The <a href="/pkg/fmt/#Errorf"><code>Errorf</code></a> function
|
||||
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>
|
||||
|
||||
</dl><!-- html/template -->
|
||||
</dl><!-- fmt -->
|
||||
|
||||
|
||||
<dl id="go/scanner"><dt><a href="/pkg/go/scanner/">go/scanner</a></dt>
|
||||
<dd>
|
||||
@ -651,6 +654,17 @@ godoc
|
||||
|
||||
</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><script></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>
|
||||
<dd>
|
||||
<p><!-- CL 168920 -->
|
||||
|
Loading…
Reference in New Issue
Block a user