doc/go1.16: add notes about package-specific fs.FS changes
For #40700
For #41190
Change-Id: I964d6856d5cad62c859d0f3a7afdd349a8ad87cb
Reviewed-on: https://go-review.googlesource.com/c/go/+/285093
Trust: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
diff --git a/doc/go1.16.html b/doc/go1.16.html
index ca07689..c761614 100644
--- a/doc/go1.16.html
+++ b/doc/go1.16.html
@@ -512,6 +512,16 @@
in mind.
</p>
+<dl id="archive/zip"><dt><a href="/pkg/archive/zip/">archive/zip</a></dt>
+ <dd>
+ <p><!-- CL 243937 -->
+ The new <a href="/pkg/archive/zip/#Reader.Open"><code>Reader.Open</code></a>
+ method implements the <a href="/pkg/io/fs/#FS"><code>fs.FS</code></a>
+ interface.
+ </p>
+ </dd>
+</dl>
+
<dl id="crypto/dsa"><dt><a href="/pkg/crypto/dsa/">crypto/dsa</a></dt>
<dd>
<p><!-- CL 257939 -->
@@ -675,6 +685,18 @@
</dd>
</dl><!-- flag -->
+<dl id="html/template"><dt><a href="/pkg/html/template/">html/template</a></dt>
+ <dd>
+ <p><!-- CL 243938 -->
+ The new <a href="/pkg/html/template/#ParseFS"><code>template.ParseFS</code></a>
+ function and <a href="/pkg/html/template/#Template.ParseFS"><code>template.Template.ParseFS</code></a>
+ method are like <a href="/pkg/html/template/#ParseGlob"><code>template.ParseGlob</code></a>
+ and <a href="/pkg/html/template/#Template.ParseGlob"><code>template.Template.ParseGlob</code></a>,
+ but read the templates from an <a href="/pkg/io/fs/#FS"><code>fs.FS</code></a>.
+ </p>
+ </dd>
+</dl><!-- html/template -->
+
<dl id="io"><dt><a href="/pkg/io/">io</a></dt>
<dd>
<p><!-- CL 261577 -->
@@ -784,6 +806,12 @@
environment variable for <code>https://</code> URLs when
<code>HTTPS_PROXY</code> is unset.
</p>
+
+ <p><!-- CL 243939 -->
+ The new <a href="/pkg/net/http/#FS"><code>http.FS</code></a>
+ function converts an <a href="/pkg/io/fs/#FS"><code>fs.FS</code></a>
+ to an <a href="/pkg/net/http/#Handler"><code>http.Handler</code></a>.
+ </p>
</dd>
</dl><!-- net/http -->
@@ -915,6 +943,14 @@
Newlines characters are now allowed inside action delimiters,
permitting actions to span multiple lines.
</p>
+
+ <p><!-- CL 243938 -->
+ The new <a href="/pkg/text/template/#ParseFS"><code>template.ParseFS</code></a>
+ function and <a href="/pkg/text/template/#Template.ParseFS"><code>template.Template.ParseFS</code></a>
+ method are like <a href="/pkg/text/template/#ParseGlob"><code>template.ParseGlob</code></a>
+ and <a href="/pkg/text/template/#Template.ParseGlob"><code>template.Template.ParseGlob</code></a>,
+ but read the templates from an <a href="/pkg/io/fs/#FS"><code>fs.FS</code></a>.
+ </p>
</dd>
</dl><!-- text/template -->