diff options
| author | Bryan C. Mills <bcmills@google.com> | 2021-07-16 17:28:48 -0400 |
|---|---|---|
| committer | Bryan C. Mills <bcmills@google.com> | 2021-07-19 20:26:38 +0000 |
| commit | 183dc663dd74105bb4bcdab02e4baf821b838a45 (patch) | |
| tree | face3d88fb9e127bf3ee430ce35b48298a9f0b69 /_content/ref/mod.md | |
| parent | 661e7459262b982a7b981a7a7496687675072360 (diff) | |
| download | go-x-website-183dc663dd74105bb4bcdab02e4baf821b838a45.tar.xz | |
_content/doc/modules/gomod-ref: add links to /ref/mod
Also update the list of behaviors controlled by the go directive for
Go 1.17.
Change-Id: Ie9eee13f0c43efd41f97d8d7c30a5ec354064776
Reviewed-on: https://go-review.googlesource.com/c/website/+/335141
Trust: Bryan C. Mills <bcmills@google.com>
Run-TryBot: Bryan C. Mills <bcmills@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Steve Traut <straut@google.com>
Diffstat (limited to '_content/ref/mod.md')
| -rw-r--r-- | _content/ref/mod.md | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/_content/ref/mod.md b/_content/ref/mod.md index 466a5642..06794308 100644 --- a/_content/ref/mod.md +++ b/_content/ref/mod.md @@ -580,6 +580,7 @@ specified by the `go` directive. This has the following effects: subdirectories of `vendor` to identify the correct main module.) * `go mod vendor` records the `go` version from each dependency's `go.mod` file in `vendor/modules.txt`. +<!-- If you update this list, also update /doc/modules/gomod-ref#go. --> A `go.mod` file may contain at most one `go` directive. Most commands will add a `go` directive with the current Go version if one is not present. |
