Skip to content

Commit ea9edab

Browse files
toshihiro-shiinodmitshur
authored andcommitted
[release-branch.go1.13] 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/+/191537 Reviewed-by: Dmitri Shuralyov <[email protected]> (cherry picked from commit 89fb80f) Reviewed-on: https://go-review.googlesource.com/c/go/+/191740 Reviewed-by: Toshihiro Shiino <[email protected]> Reviewed-by: Emmanuel Odeke <[email protected]>
1 parent bc30423 commit ea9edab

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

doc/go1.13.html

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@ <h4 id="version-validation">Version validation</h4><!-- CL 181881 -->
315315

316316
<p>
317317
The <code>go</code> command now verifies the mapping
318-
between <a href="/cmd/go#hdr-Pseudo_versions">pseudo-versions</a> and
318+
between <a href="/cmd/go/#hdr-Pseudo_versions">pseudo-versions</a> and
319319
version-control metadata. Specifically:
320320
<ul>
321321
<li>The version prefix must be of the form <code>vX.0.0</code>, or derived
@@ -551,9 +551,9 @@ <h3 id="error_wrapping">Error wrapping</h3>
551551
To support wrapping, <a href="#fmt"><code>fmt.Errorf</code></a> now has a <code>%w</code>
552552
verb for creating wrapped errors, and three new functions in
553553
the <a href="#errors"><code>errors</code></a> package (
554-
<a href="/pkg/errors#Unwrap"><code>errors.Unwrap</code></a>,
555-
<a href="/pkg/errors#Is"><code>errors.Is</code></a> and
556-
<a href="/pkg/errors#As"><code>errors.As</code></a>) simplify unwrapping
554+
<a href="/pkg/errors/#Unwrap"><code>errors.Unwrap</code></a>,
555+
<a href="/pkg/errors/#Is"><code>errors.Is</code></a> and
556+
<a href="/pkg/errors/#As"><code>errors.As</code></a>) simplify unwrapping
557557
and inspecting wrapped errors.
558558
</p>
559559
<p>
@@ -790,7 +790,7 @@ <h3 id="minor_library_changes">Minor changes to the library</h3>
790790
<code>Timeout</code> method that returns <code>true</code> if called.
791791
This can make a keep-alive error difficult to distinguish from
792792
an error returned due to a missed deadline as set by the
793-
<a href="/pkg/net#Conn"><code>SetDeadline</code></a>
793+
<a href="/pkg/net/#Conn"><code>SetDeadline</code></a>
794794
method and similar methods.
795795
Code that uses deadlines and checks for them with
796796
the <code>Timeout</code> method or
@@ -819,7 +819,7 @@ <h3 id="minor_library_changes">Minor changes to the library</h3>
819819
</p>
820820

821821
<p><!-- CL 140357 -->
822-
When reusing HTTP/2, the <a href="/pkg/net/http#Transport"><code>Transport</code></a> no longer performs unnecessary TLS handshakes.
822+
When reusing HTTP/2, the <a href="/pkg/net/http/#Transport"><code>Transport</code></a> no longer performs unnecessary TLS handshakes.
823823
</p>
824824

825825
<p><!-- CL 154383 -->
@@ -843,14 +843,14 @@ <h3 id="minor_library_changes">Minor changes to the library</h3>
843843
</p>
844844

845845
<p><!-- CL 167681 -->
846-
The new <a href="/pkg/net/http#Server"><code>Server</code></a> fields
846+
The new <a href="/pkg/net/http/#Server"><code>Server</code></a> fields
847847
<a href="/pkg/net/http/#Server.BaseContext"><code>BaseContext</code></a> and
848848
<a href="/pkg/net/http/#Server.ConnContext"><code>ConnContext</code></a>
849-
allow finer control over the <a href="/pkg/context#Context"><code>Context</code></a> values provided to requests and connections.
849+
allow finer control over the <a href="/pkg/context/#Context"><code>Context</code></a> values provided to requests and connections.
850850
</p>
851851

852852
<p><!-- CL 167781 -->
853-
<a href="/pkg/net/http#DetectContentType"><code>http.DetectContentType</code></a> now correctly detects RAR signatures, and can now also detect RAR v5 signatures.
853+
<a href="/pkg/net/http/#DetectContentType"><code>http.DetectContentType</code></a> now correctly detects RAR signatures, and can now also detect RAR v5 signatures.
854854
</p>
855855

856856
<p><!-- CL 173658 -->
@@ -888,9 +888,9 @@ <h3 id="minor_library_changes">Minor changes to the library</h3>
888888
<dl id="os/exec"><dt><a href="/pkg/os/exec/">os/exec</a></dt>
889889
<dd>
890890
<p><!-- CL 174318 -->
891-
On Windows, the environment for a <a href="/pkg/os/exec#Cmd"><code>Cmd</code></a> always inherits the
891+
On Windows, the environment for a <a href="/pkg/os/exec/#Cmd"><code>Cmd</code></a> always inherits the
892892
<code>%SYSTEMROOT%</code> value of the parent process unless the
893-
<a href="/pkg/os/exec#Cmd.Env"><code>Cmd.Env</code></a> field includes an explicit value for it.
893+
<a href="/pkg/os/exec/#Cmd.Env"><code>Cmd.Env</code></a> field includes an explicit value for it.
894894
</p>
895895

896896
</dl><!-- os/exec -->

0 commit comments

Comments
 (0)