From: Toshihiro Shiino
The go
command now verifies the mapping
- between pseudo-versions and
+ between pseudo-versions and
version-control metadata. Specifically:
vX.0.0
, or derived
@@ -551,9 +551,9 @@ godoc
To support wrapping, fmt.Errorf
now has a %w
verb for creating wrapped errors, and three new functions in
the errors
package (
- errors.Unwrap
,
- errors.Is
and
- errors.As
) simplify unwrapping
+ errors.Unwrap
,
+ errors.Is
and
+ errors.As
) simplify unwrapping
and inspecting wrapped errors.
@@ -790,7 +790,7 @@ godoc
Timeout
method that returns true
if called.
This can make a keep-alive error difficult to distinguish from
an error returned due to a missed deadline as set by the
- SetDeadline
+ SetDeadline
method and similar methods.
Code that uses deadlines and checks for them with
the Timeout
method or
@@ -819,7 +819,7 @@ godoc
- When reusing HTTP/2, the Transport
no longer performs unnecessary TLS handshakes.
+ When reusing HTTP/2, the Transport
no longer performs unnecessary TLS handshakes.
@@ -843,14 +843,14 @@ godoc
- The new Server
fields
+ The new Server
fields
BaseContext
and
ConnContext
- allow finer control over the Context
values provided to requests and connections.
+ allow finer control over the Context
values provided to requests and connections.
- http.DetectContentType
now correctly detects RAR signatures, and can now also detect RAR v5 signatures.
+ http.DetectContentType
now correctly detects RAR signatures, and can now also detect RAR v5 signatures.
@@ -888,9 +888,9 @@ godoc