aboutsummaryrefslogtreecommitdiff
path: root/_content/doc/tutorial/generics.md
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2022-01-14 12:53:28 -0500
committerRuss Cox <rsc@golang.org>2022-01-14 18:05:40 +0000
commitf81f4f7f21d45f2e62f8dbcf84e0fd5d7b2785a3 (patch)
treea1cf707d91955d3feff262350bc221509a4f93c4 /_content/doc/tutorial/generics.md
parentfe93965e6b1e95966a3efb8e1139e84f88fa9937 (diff)
downloadgo-x-website-f81f4f7f21d45f2e62f8dbcf84e0fd5d7b2785a3.tar.xz
_content: remove some https://go.dev/ prefixes in links
The site is served at both go.dev and golang.google.cn. In China, only golang.google.cn can serve, so we try to use relative links to avoid pointing users to the copy they can't access. Periodically we have to remove prefixes that have crept in. This commit applies today's round of that. Change-Id: Iaa169635664d0562a1cccc57c3e02b687b3493e7 Reviewed-on: https://go-review.googlesource.com/c/website/+/378597 Trust: Russ Cox <rsc@golang.org> Run-TryBot: Russ Cox <rsc@golang.org> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: DO NOT USE <katiehockman@google.com> Trust: DO NOT USE <katiehockman@google.com>
Diffstat (limited to '_content/doc/tutorial/generics.md')
-rw-r--r--_content/doc/tutorial/generics.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/_content/doc/tutorial/generics.md b/_content/doc/tutorial/generics.md
index be8bc8db..06251f13 100644
--- a/_content/doc/tutorial/generics.md
+++ b/_content/doc/tutorial/generics.md
@@ -22,7 +22,7 @@ You'll progress through the following sections:
**Note:** For other tutorials, see [Tutorials](/doc/tutorial/index.html).
**Note:** If you prefer, you can use
-[the Go playground in “Go dev branch” mode](https://go.dev/play/?v=gotip)
+[the Go playground in “Go dev branch” mode](/play/?v=gotip)
to edit and run your program instead.
## Prerequisites
@@ -484,7 +484,7 @@ Suggested next topics:
<!--TODO: Update text and link after release.-->
You can run this program in the
-[Go playground](https://go.dev/play/p/apNmfVwogK0?v=gotip). On the
+[Go playground](/play/p/apNmfVwogK0?v=gotip). On the
playground simply click the **Run** button.
```