doc/go1.21: correct links in go/build note

Change-Id: Ie84cad994c1ffb2c91ce45b2dfb9257e6a7f309b
Reviewed-on: https://go-review.googlesource.com/c/go/+/499957
Reviewed-by: Ian Lance Taylor <iant@google.com>
Auto-Submit: Ian Lance Taylor <iant@google.com>
TryBot-Bypass: Ian Lance Taylor <iant@google.com>
Reviewed-by: Eli Bendersky <eliben@google.com>
This commit is contained in:
Ian Lance Taylor 2023-06-01 09:03:50 -07:00 committed by Gopher Robot
parent 300f24400a
commit 73a29bad0b
1 changed files with 4 additions and 4 deletions

View File

@ -608,11 +608,11 @@ Do not send CLs removing the interior tags from such phrases.
with <code>//go:</code>) in file headers (before
the <code>package</code> declaration). These directives are
available in the new
<a href="/pkg/go/build/Package"><code>Package</code></a> fields
<a href="/pkg/go/build/Package.Directives"><code>Directives</code></a>,
<a href="/pkg/go/build/Package.TestDirectives"><code>TestDirectives</code></a>,
<a href="/pkg/go/build#Package"><code>Package</code></a> fields
<a href="/pkg/go/build#Package.Directives"><code>Directives</code></a>,
<a href="/pkg/go/build#Package.TestDirectives"><code>TestDirectives</code></a>,
and
<a href="/pkg/go/build/Package.XTestDirectives"><code>XTestDirectives</code></a>.
<a href="/pkg/go/build#Package.XTestDirectives"><code>XTestDirectives</code></a>.
</p>
</dd>
</dl><!-- go/build -->