diff options
| author | Tobias Klauser <tklauser@distanz.ch> | 2021-06-22 15:50:49 +0200 |
|---|---|---|
| committer | Jay Conrod <jayconrod@google.com> | 2021-06-22 16:20:43 +0000 |
| commit | 050e222eac9eb10f5f5457af166c60a2cfb68c0a (patch) | |
| tree | 6de47ec89c74a3b95d723cce3ae0eb345a35b87d | |
| parent | 08e38f9b821fa55e135576196a5651da2fcff507 (diff) | |
| download | go-x-website-050e222eac9eb10f5f5457af166c60a2cfb68c0a.tar.xz | |
_content/doc/modules: add missing @ in replace command
Change-Id: I96f1559e42a46eba327795d953b45eebd034af0e
Reviewed-on: https://go-review.googlesource.com/c/website/+/330049
Trust: Tobias Klauser <tobias.klauser@gmail.com>
Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Bryan C. Mills <bcmills@google.com>
Reviewed-by: Jay Conrod <jayconrod@google.com>
| -rw-r--r-- | _content/doc/modules/managing-dependencies.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/_content/doc/modules/managing-dependencies.md b/_content/doc/modules/managing-dependencies.md index 5f848a62..6955dd5e 100644 --- a/_content/doc/modules/managing-dependencies.md +++ b/_content/doc/modules/managing-dependencies.md @@ -360,7 +360,7 @@ the required module with the fork: ``` $ go list -m example.com/theirmodule example.com/theirmodule v1.2.3 -$ go mod edit -replace=example.com/theirmodule@v1.2.3=example.com/myfork/theirmodule v1.2.3-fixed +$ go mod edit -replace=example.com/theirmodule@v1.2.3=example.com/myfork/theirmodule@v1.2.3-fixed ``` **Note:** When you use the `replace` directive, Go tools don't authenticate |
