aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Chase <drchase@google.com>2025-12-04 12:27:14 -0500
committerDavid Chase <drchase@google.com>2025-12-04 10:54:34 -0800
commita5b778062e0b102d79aebb56be1aa72bc67b8d77 (patch)
treed5db8ab5cfba1efe7cd70071e2de77c8d3f5516e
parenta34000746e37cc1a5c7d2c8615789d1b99e1c6a3 (diff)
downloadgo-x-website-a5b778062e0b102d79aebb56be1aa72bc67b8d77.tar.xz
_content/doc: fix typos and what looks like swapped paragraphs
the paragraphs for go/types and time appeared to be swapped in the original, I swapped them back. Change-Id: Ibf9da0f4a14e77e28de8a87e2a7aca0537e25c7c Reviewed-on: https://go-review.googlesource.com/c/website/+/726900 Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org> Reviewed-by: Mark Freeman <markfreeman@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
-rw-r--r--_content/doc/go1.26.md20
1 files changed, 10 insertions, 10 deletions
diff --git a/_content/doc/go1.26.md b/_content/doc/go1.26.md
index 007aa2d9..6d60ed09 100644
--- a/_content/doc/go1.26.md
+++ b/_content/doc/go1.26.md
@@ -355,7 +355,7 @@ Starting in Go 1.27, the new behavior will apply regardless of GODEBUG setting o
#### [`crypto/x509`](/pkg/crypto/x509/)
The [`ExtKeyUsage`](/pkg/crypto/x509#ExtKeyUsage) and [`KeyUsage`](/pkg/crypto/x509#KeyUsage) types now have String methods that return the
-correspodning OID names as defined in RFC 5280 and other registries.
+corresponding OID names as defined in RFC 5280 and other registries.
The [`ExtKeyUsage`](/pkg/crypto/x509#ExtKeyUsage) type now has an OID method that returns the corresponding OID for the EKU.
@@ -399,10 +399,11 @@ The new [`File.End`](/pkg/go/token#File.End) convenience method returns the file
#### [`go/types`](/pkg/go/types/)
-The `asynctimerchan` GODEBUG setting introduced in [Go 1.23](/doc/godebug#go-123)
+The `gotypesalias` GODEBUG setting introduced in [Go 1.22](/doc/godebug#go-122)
will be removed in the next major Go release.
-Starting in Go 1.27, the [time](/pkg/time) package will always use unbuffered
-(synchronous) channels for timers regardless of GODEBUG setting or go.mod language version.
+Starting in Go 1.27, the [go/types](/pkg/go/types) package will always produce an
+[Alias type](/pkg/go/types#Alias) for the representation of [type aliases](/ref/spec#Type_declarations)
+regardless of GODEBUG setting or go.mod language version.
#### [`image/jpeg`](/pkg/image/jpeg/)
@@ -437,8 +438,8 @@ if an existing HTTP/2 connection has exceeded its stream limit.
The new [`Transport.NewClientConn`](/pkg/net/http#Transport.NewClientConn) method returns a client connection
to an HTTP server.
Most users should continue to use [`Transport.RoundTrip`](/pkg/net/http#Transport.RoundTrip) to make requests,
-which manages a pool of connection.
-`NewClientConn` is useful for users who need to implement their own conection management.
+which manages a pool of connections.
+`NewClientConn` is useful for users who need to implement their own connection management.
#### [`net/http/httptest`](/pkg/net/http/httptest/)
@@ -533,11 +534,10 @@ crypto/rand, and all implicit sources of cryptographic randomness in the
#### [`time`](/pkg/time/)
-The `gotypesalias` GODEBUG setting introduced in [Go 1.22](/doc/godebug#go-122)
+The `asynctimerchan` GODEBUG setting introduced in [Go 1.23](/doc/godebug#go-123)
will be removed in the next major Go release.
-Starting in Go 1.27, the [go/types](/pkg/go/types) package will always produce an
-[Alias type](/pkg/go/types#Alias) for the representation of [type aliases](/ref/spec#Type_declarations)
-regardless of GODEBUG setting or go.mod language version.
+Starting in Go 1.27, the [time](/pkg/time) package will always use unbuffered
+(synchronous) channels for timers regardless of GODEBUG setting or go.mod language version.
## Ports {#ports}