diff options
| author | Russ Cox <rsc@golang.org> | 2021-11-17 22:34:23 -0500 |
|---|---|---|
| committer | Russ Cox <rsc@golang.org> | 2021-11-22 16:42:44 +0000 |
| commit | ab4f479b5c490d82ff2351f37f4e454da26483b1 (patch) | |
| tree | 59edcafd2ecc3bb50874abaa83f63f4bda3b0cda /_content/doc/tutorial/database-access.md | |
| parent | 7c7e6d209d9c0de0848e95a3d1a3077e078fc29f (diff) | |
| download | go-x-website-ab4f479b5c490d82ff2351f37f4e454da26483b1.tar.xz | |
all: make golang.org and go.dev links relative
Now that there is one site, update all golang.org links to go.dev.
But for any links being served from go.dev, make host-relative,
so that when serving golang.google.cn, we stay on that host as
much as possible.
Change-Id: Id6e1303059b5522846a64202bc1a8b81dc3854cd
Reviewed-on: https://go-review.googlesource.com/c/website/+/365095
Trust: Russ Cox <rsc@golang.org>
Reviewed-by: Jamal Carvalho <jamal@golang.org>
Diffstat (limited to '_content/doc/tutorial/database-access.md')
| -rw-r--r-- | _content/doc/tutorial/database-access.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/_content/doc/tutorial/database-access.md b/_content/doc/tutorial/database-access.md index f2ede707..cdb62127 100644 --- a/_content/doc/tutorial/database-access.md +++ b/_content/doc/tutorial/database-access.md @@ -323,7 +323,7 @@ specific database. 1. Begin tracking the MySQL driver module as a dependency. - Use the [`go get`](https://golang.org/cmd/go/#hdr-Add_dependencies_to_current_module_and_install_them) + Use the [`go get`](/cmd/go/#hdr-Add_dependencies_to_current_module_and_install_them) to add the github.com/go-sql-driver/mysql module as a dependency for your own module. Use a dot argument to mean "get dependencies for code in the current directory." @@ -335,7 +335,7 @@ specific database. Go downloaded this dependency because you added it to the `import` declaration in the previous step. For more about dependency tracking, - see [Adding a dependency](https://golang.org/doc/modules/managing-dependencies#adding_dependency). + see [Adding a dependency](/doc/modules/managing-dependencies#adding_dependency). 2. From the command prompt, set the `DBUSER` and `DBPASS` environment variables for use by the Go program. |
