Skip to content

Commit debc520

Browse files
doc/go1.14: mention net/http.Header.Values, net/textproto.MIMEHeader.Values
These methods are new in Go 1.14. Updates #34799 Updates #36878 Change-Id: I063f5cb4638d7e0716e6ce2a8c3fffced51bbd34 Reviewed-on: https://go-review.googlesource.com/c/go/+/217129 Reviewed-by: Brad Fitzpatrick <[email protected]>
1 parent f68577f commit debc520

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

doc/go1.14.html

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -532,6 +532,17 @@ <h2 id="library">Core library</h2>
532532

533533
</dl><!-- math/big -->
534534

535+
<dl id="net/http"><dt><a href="/pkg/net/http/">net/http</a></dt>
536+
<dd>
537+
<p><!-- CL 200760 -->
538+
The new <a href="/pkg/net/http/#Header"><code>Header</code></a>
539+
method <a href="/pkg/net/http/#Header.Values"><code>Values</code></a>
540+
can be used to fetch all values associated with a
541+
canonicalized key.
542+
</p>
543+
</dd>
544+
</dl><!-- net/http -->
545+
535546
<dl id="net/http/httptest"><dt><a href="/net/http/httptest/">net/http/httptest</a></dt>
536547
<dd>
537548
<p><!-- CL 201557 -->
@@ -543,6 +554,18 @@ <h2 id="library">Core library</h2>
543554
</dd>
544555
</dl><!-- net/http/httptest -->
545556

557+
<dl id="net/textproto"><dt><a href="/pkg/net/textproto/">net/textproto</a></dt>
558+
<dd>
559+
<p><!-- CL 200760 -->
560+
The
561+
new <a href="/pkg/net/textproto/#MIMEHeader"><code>MIMEHeader</code></a>
562+
method <a href="/pkg/net/textproto/#MIMEHeader.Values"><code>Values</code></a>
563+
can be used to fetch all values associated with a canonicalized
564+
key.
565+
</p>
566+
</dd>
567+
</dl><!-- net/textproto -->
568+
546569
<dl id="plugin"><dt><a href="/pkg/plugin/">plugin</a></dt>
547570
<dd>
548571
<p><!-- CL 191617 -->

0 commit comments

Comments
 (0)