diff options
| author | Ian Lance Taylor <iant@golang.org> | 2022-01-28 16:08:25 -0800 |
|---|---|---|
| committer | DO NOT USE <iant@google.com> | 2022-02-01 20:14:26 +0000 |
| commit | 617d83c5d40b0ebcebb0da1d6bbf9180565e5a14 (patch) | |
| tree | deb64653da986e6cfdada577f5eb7abd7446d453 | |
| parent | 884feaf4b494935ed1d88e74dc7dcc5a81d5fd90 (diff) | |
| download | go-x-website-617d83c5d40b0ebcebb0da1d6bbf9180565e5a14.tar.xz | |
_content/ref/mod: "go 1.16" is the default in go.mod
Fixes golang/go#47662
Change-Id: Ie4d327a48d426ce1cd4a5bd411186143fecf00e1
Reviewed-on: https://go-review.googlesource.com/c/website/+/381895
Reviewed-by: Bryan Mills <bcmills@google.com>
Trust: DO NOT USE <iant@google.com>
| -rw-r--r-- | _content/ref/mod.md | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/_content/ref/mod.md b/_content/ref/mod.md index 928fb31c..a4bcfa25 100644 --- a/_content/ref/mod.md +++ b/_content/ref/mod.md @@ -588,6 +588,9 @@ specified by the `go` directive. This has the following effects: 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. +As of the Go 1.17 release, if the `go` directive is missing, `go 1.16` +is assumed. + ``` GoDirective = "go" GoVersion newline . GoVersion = string | ident . /* valid release version; see above */ |
