aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--_content/doc/modules/gomod-ref.md6
-rw-r--r--_content/ref/mod.md6
2 files changed, 6 insertions, 6 deletions
diff --git a/_content/doc/modules/gomod-ref.md b/_content/doc/modules/gomod-ref.md
index 6b64efd2..0fb082c9 100644
--- a/_content/doc/modules/gomod-ref.md
+++ b/_content/doc/modules/gomod-ref.md
@@ -163,7 +163,7 @@ Before Go 1.21, the directive was advisory only; now it is a mandatory requireme
Go toolchains refuse to use modules declaring newer Go versions.
The `go` directive is an input into selecting which Go toolchain to run.
-See “[/doc/toolchain](Go toolchains)” for details.
+See “[Go toolchains](/doc/toolchain)” for details.
The `go` directive affects use of new language features:
@@ -221,7 +221,7 @@ Declares a suggested Go toolchain to use with this module.
Only takes effect when the module is the main module
and the default toolchain is older than the suggested toolchain.
-For more see “[/doc/toolchain](Go toolchains)” and
+For more see “[Go toolchains](/doc/toolchain)” and
[`toolchain` directive](/ref/mod/#go-mod-file-toolchain) in the
Go Modules Reference.
@@ -246,7 +246,7 @@ Go Modules Reference.
### Notes {#toolchain-notes}
-See “[/doc/toolchain](Go toolchains)” for details about how the `toolchain` line
+See “[Go toolchains](/doc/toolchain)” for details about how the `toolchain` line
affects Go toolchain selection.
## require {#require}
diff --git a/_content/ref/mod.md b/_content/ref/mod.md
index b32ffe10..0b1d3e4e 100644
--- a/_content/ref/mod.md
+++ b/_content/ref/mod.md
@@ -542,7 +542,7 @@ Before Go 1.21, the directive was advisory only; now it is a mandatory requireme
Go toolchains refuse to use modules declaring newer Go versions.
The `go` directive is an input into selecting which Go toolchain to run.
-See “[/doc/toolchain](Go toolchains)” for details.
+See “[Go toolchains](/doc/toolchain)” for details.
The `go` directive affects use of new language features:
@@ -619,7 +619,7 @@ version is less than the suggested toolchain's version.
For reproducibility, the `go` command writes its own toolchain name in a `toolchain` line any time
it is updating the `go` version in the `go.mod` file (usually during `go get`).
-For details, see “[/doc/toolchain](Go toolchains)”.
+For details, see “[Go toolchains](/doc/toolchain)”.
```
ToolchainDirective = "toolchain" ToolchainName newline .
@@ -1238,7 +1238,7 @@ A `toolchain` directive declares a suggested Go toolchain to use in a workspace.
It only has an effect when the default toolchain
is older than the suggested toolchain.
-For details, see “[/doc/toolchain](Go toolchains)”.
+For details, see “[Go toolchains](/doc/toolchain)”.
```
ToolchainDirective = "toolchain" ToolchainName newline .