Commit 89fb80f7 authored by Toshihiro Shiino's avatar Toshihiro Shiino Committed by Dmitri Shuralyov

doc/go1.13: add missing slashes

This saves a redirect and makes the document more consistent.

Change-Id: Ib7f68b1967275c0c676a044314919449680297f3
Reviewed-on: https://go-review.googlesource.com/c/go/+/191537Reviewed-by: default avatarDmitri Shuralyov <dmitshur@golang.org>
parent 1a7c15fa
...@@ -315,7 +315,7 @@ go env -w GOSUMDB=off ...@@ -315,7 +315,7 @@ go env -w GOSUMDB=off
<p> <p>
The <code>go</code> command now verifies the mapping The <code>go</code> command now verifies the mapping
between <a href="/cmd/go#hdr-Pseudo_versions">pseudo-versions</a> and between <a href="/cmd/go/#hdr-Pseudo_versions">pseudo-versions</a> and
version-control metadata. Specifically: version-control metadata. Specifically:
<ul> <ul>
<li>The version prefix must be of the form <code>vX.0.0</code>, or derived <li>The version prefix must be of the form <code>vX.0.0</code>, or derived
...@@ -551,9 +551,9 @@ godoc ...@@ -551,9 +551,9 @@ godoc
To support wrapping, <a href="#fmt"><code>fmt.Errorf</code></a> now has a <code>%w</code> To support wrapping, <a href="#fmt"><code>fmt.Errorf</code></a> now has a <code>%w</code>
verb for creating wrapped errors, and three new functions in verb for creating wrapped errors, and three new functions in
the <a href="#errors"><code>errors</code></a> package ( the <a href="#errors"><code>errors</code></a> package (
<a href="/pkg/errors#Unwrap"><code>errors.Unwrap</code></a>, <a href="/pkg/errors/#Unwrap"><code>errors.Unwrap</code></a>,
<a href="/pkg/errors#Is"><code>errors.Is</code></a> and <a href="/pkg/errors/#Is"><code>errors.Is</code></a> and
<a href="/pkg/errors#As"><code>errors.As</code></a>) simplify unwrapping <a href="/pkg/errors/#As"><code>errors.As</code></a>) simplify unwrapping
and inspecting wrapped errors. and inspecting wrapped errors.
</p> </p>
<p> <p>
...@@ -790,7 +790,7 @@ godoc ...@@ -790,7 +790,7 @@ godoc
<code>Timeout</code> method that returns <code>true</code> if called. <code>Timeout</code> method that returns <code>true</code> if called.
This can make a keep-alive error difficult to distinguish from This can make a keep-alive error difficult to distinguish from
an error returned due to a missed deadline as set by the an error returned due to a missed deadline as set by the
<a href="/pkg/net#Conn"><code>SetDeadline</code></a> <a href="/pkg/net/#Conn"><code>SetDeadline</code></a>
method and similar methods. method and similar methods.
Code that uses deadlines and checks for them with Code that uses deadlines and checks for them with
the <code>Timeout</code> method or the <code>Timeout</code> method or
...@@ -819,7 +819,7 @@ godoc ...@@ -819,7 +819,7 @@ godoc
</p> </p>
<p><!-- CL 140357 --> <p><!-- CL 140357 -->
When reusing HTTP/2, the <a href="/pkg/net/http#Transport"><code>Transport</code></a> no longer performs unnecessary TLS handshakes. When reusing HTTP/2, the <a href="/pkg/net/http/#Transport"><code>Transport</code></a> no longer performs unnecessary TLS handshakes.
</p> </p>
<p><!-- CL 154383 --> <p><!-- CL 154383 -->
...@@ -843,14 +843,14 @@ godoc ...@@ -843,14 +843,14 @@ godoc
</p> </p>
<p><!-- CL 167681 --> <p><!-- CL 167681 -->
The new <a href="/pkg/net/http#Server"><code>Server</code></a> fields The new <a href="/pkg/net/http/#Server"><code>Server</code></a> fields
<a href="/pkg/net/http/#Server.BaseContext"><code>BaseContext</code></a> and <a href="/pkg/net/http/#Server.BaseContext"><code>BaseContext</code></a> and
<a href="/pkg/net/http/#Server.ConnContext"><code>ConnContext</code></a> <a href="/pkg/net/http/#Server.ConnContext"><code>ConnContext</code></a>
allow finer control over the <a href="/pkg/context#Context"><code>Context</code></a> values provided to requests and connections. allow finer control over the <a href="/pkg/context/#Context"><code>Context</code></a> values provided to requests and connections.
</p> </p>
<p><!-- CL 167781 --> <p><!-- CL 167781 -->
<a href="/pkg/net/http#DetectContentType"><code>http.DetectContentType</code></a> now correctly detects RAR signatures, and can now also detect RAR v5 signatures. <a href="/pkg/net/http/#DetectContentType"><code>http.DetectContentType</code></a> now correctly detects RAR signatures, and can now also detect RAR v5 signatures.
</p> </p>
<p><!-- CL 173658 --> <p><!-- CL 173658 -->
...@@ -888,9 +888,9 @@ godoc ...@@ -888,9 +888,9 @@ godoc
<dl id="os/exec"><dt><a href="/pkg/os/exec/">os/exec</a></dt> <dl id="os/exec"><dt><a href="/pkg/os/exec/">os/exec</a></dt>
<dd> <dd>
<p><!-- CL 174318 --> <p><!-- CL 174318 -->
On Windows, the environment for a <a href="/pkg/os/exec#Cmd"><code>Cmd</code></a> always inherits the On Windows, the environment for a <a href="/pkg/os/exec/#Cmd"><code>Cmd</code></a> always inherits the
<code>%SYSTEMROOT%</code> value of the parent process unless the <code>%SYSTEMROOT%</code> value of the parent process unless the
<a href="/pkg/os/exec#Cmd.Env"><code>Cmd.Env</code></a> field includes an explicit value for it. <a href="/pkg/os/exec/#Cmd.Env"><code>Cmd.Env</code></a> field includes an explicit value for it.
</p> </p>
</dl><!-- os/exec --> </dl><!-- os/exec -->
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment