From a4a86c7b2441d2777beb2377acfa3d9d7b1fc4ee Mon Sep 17 00:00:00 2001 From: Russ Cox Date: Tue, 6 Dec 2022 18:54:11 -0500 Subject: [PATCH] doc/go1.20: relnote and take care of TODOs The main change here is documenting the last-minute addition types.Satisfies. Change-Id: I8be2d2ad730ba108706bd849b68cbd1f4d68a4b8 Reviewed-on: https://go-review.googlesource.com/c/go/+/455698 Run-TryBot: Russ Cox TryBot-Result: Gopher Robot Reviewed-by: Heschi Kreinick --- doc/go1.20.html | 21 +++++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) diff --git a/doc/go1.20.html b/doc/go1.20.html index b39c49ff11..f53680e3ba 100644 --- a/doc/go1.20.html +++ b/doc/go1.20.html @@ -362,7 +362,7 @@ Do not send CLs removing the interior tags from such phrases.

New crypto/ecdh package

-

+

Go 1.20 adds a new crypto/ecdh package to provide direct support for Elliptic Curve Diffie-Hellman key exchange over NIST curves and Curve25519. @@ -779,6 +779,17 @@ proxyHandler := &httputil.ReverseProxy{ +

go/types
+
+

+ The new Satisfies function reports + whether a type satisfies a constraint. + This change aligns with the new language semantics + that distinguish satsifying a constraint from implementing an interface. +

+
+
+
io

@@ -1030,7 +1041,7 @@ proxyHandler := &httputil.ReverseProxy{

runtime/cgo
-

+

Go 1.20 adds new Incomplete marker type. Code generated by cgo will use cgo.Incomplete to mark an incomplete C type.

@@ -1191,3 +1202,9 @@ proxyHandler := &httputil.ReverseProxy{ + + + + + + -- 2.50.0