aboutsummaryrefslogtreecommitdiff
path: root/_content/ref/mod.md
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2023-12-07 13:07:31 -0500
committerGopher Robot <gobot@golang.org>2023-12-08 03:23:52 +0000
commit0a7f3785817805ba0861a5d107ffb23bd2c1ebea (patch)
treeedf3e75a7ab5972b0454e840c5cf5420e850e023 /_content/ref/mod.md
parentf74533cb3d222cb0987af4771426c45b6a8874d6 (diff)
downloadgo-x-website-0a7f3785817805ba0861a5d107ffb23bd2c1ebea.tar.xz
cmd/golangorg: check for invalid or broken links in served HTML
Test that links are to /foo not https://go.dev/foo and also check that the links actually point at real pages. Manually fix problems that the test found. For golang/go#37047. Change-Id: I825eec3c2cadb9d259caff51cd893f3023ab533a Reviewed-on: https://go-review.googlesource.com/c/website/+/548059 Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org> Reviewed-by: Dmitri Shuralyov <dmitshur@google.com> Auto-Submit: Russ Cox <rsc@golang.org> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Diffstat (limited to '_content/ref/mod.md')
-rw-r--r--_content/ref/mod.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/_content/ref/mod.md b/_content/ref/mod.md
index 0d586e2d..9119c241 100644
--- a/_content/ref/mod.md
+++ b/_content/ref/mod.md
@@ -2861,7 +2861,7 @@ versions, but this is no longer true since Go 1.13.
A module proxy must always serve the same content for successful
responses for `$base/$module/$version.mod` and `$base/$module/$version.zip`
queries. This content is [cryptographically authenticated](#authenticating)
-using [`go.sum` files](go-sum-files) and, by default, the
+using [`go.sum` files](#go-sum-files) and, by default, the
[checksum database](#checksum-database).
The `go` command caches most content it downloads from module proxies in its
@@ -3903,7 +3903,7 @@ conflicts on case-insensitive file systems.
order, compression, alignment, and metadata don't affect the hash.
When using a module, the <code>go</code> command verifies this hash
matches the corresponding line in
- <a href="go-sum-files"><code>go.sum</code></a>. The
+ <a href="#go-sum-files"><code>go.sum</code></a>. The
<a href="#go-mod-verify"><code>go mod verify</code></a> command checks
that the hashes of module <code>.zip</code> files and extracted
directories match these files.
@@ -3946,7 +3946,7 @@ not affected by file order, compression, alignment, and other metadata. See
for hash implementation details.
The `go` command compares each hash with the corresponding line in the main
-module's [`go.sum` file](go-sum-files). If the hash is different from the hash
+module's [`go.sum` file](#go-sum-files). If the hash is different from the hash
in `go.sum`, the `go` command reports a security error and deletes the
downloaded file without adding it into the module cache.