diff options
| author | Russ Cox <rsc@golang.org> | 2023-12-07 12:49:14 -0500 |
|---|---|---|
| committer | Gopher Robot <gobot@golang.org> | 2023-12-08 03:23:23 +0000 |
| commit | 2d2fc5b9cbef2597ca48ddb6615b086f37fe60f5 (patch) | |
| tree | 8bf291b0fea0c4bdc525ab135c2c07e8af000a40 /_content/doc/tutorial/workspaces.md | |
| parent | 90162a8e6f6ec87cee98f521bb40d191efa20fb2 (diff) | |
| download | go-x-website-2d2fc5b9cbef2597ca48ddb6615b086f37fe60f5.tar.xz | |
_content: rewrite links to https://go.dev/foo to /foo
We use /foo consistently so that people browsing on
golang.google.cn are not redirected to go.dev.
This CL is completely mechanical, replacing
href="https://go.dev/ -> href="/
in HTML and replacing
](https://go.dev/ -> ](/
in Markdown.
Change-Id: I8ac732d672075600c8e53c46787205454b196850
Reviewed-on: https://go-review.googlesource.com/c/website/+/548058
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Auto-Submit: Russ Cox <rsc@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Diffstat (limited to '_content/doc/tutorial/workspaces.md')
| -rw-r--r-- | _content/doc/tutorial/workspaces.md | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/_content/doc/tutorial/workspaces.md b/_content/doc/tutorial/workspaces.md index 2df1cfc3..91668ef3 100644 --- a/_content/doc/tutorial/workspaces.md +++ b/_content/doc/tutorial/workspaces.md @@ -24,7 +24,7 @@ of those changes in a build. and on PowerShell or cmd in Windows. This tutorial requires go1.18 or later. Make sure you've installed Go at Go 1.18 or later using the -links at [go.dev/dl](https://go.dev/dl). +links at [go.dev/dl](/dl). ## Create a module for your code {#create_folder} @@ -244,7 +244,7 @@ We'll then add a new function to the `reverse` package that we can use instead o file, and similarly resolves the `golang.org/x/example/hello/reverse` import using the `go.work` file. - `go.work` can be used instead of adding [`replace`](https://go.dev/ref/mod#go-mod-file-replace) + `go.work` can be used instead of adding [`replace`](/ref/mod#go-mod-file-replace) directives to work across multiple modules. Since the two modules are in the same workspace it's easy @@ -255,7 +255,7 @@ We'll then add a new function to the `reverse` package that we can use instead o Now, to properly release these modules we'd need to make a release of the `golang.org/x/example/hello` module, for example at `v0.1.0`. This is usually done by tagging a commit on the module's version control repository. See the - [module release workflow documentation](https://go.dev/doc/modules/release-workflow) + [module release workflow documentation](/doc/modules/release-workflow) for more details. Once the release is done, we can increase the requirement on the `golang.org/x/example/hello` module in `hello/go.mod`: @@ -277,5 +277,5 @@ We'll then add a new function to the `reverse` package that we can use instead o - `go work edit` edits the `go.work` file similarly to `go mod edit` - `go work sync` syncs dependencies from the workspace's build list into each of the workspace modules. - See [Workspaces](https://go.dev/ref/mod#workspaces) in the Go Modules Reference for more detail on + See [Workspaces](/ref/mod#workspaces) in the Go Modules Reference for more detail on workspaces and `go.work` files. |
