aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@golang.org>2019-02-01 06:22:00 -0800
committerIan Lance Taylor <iant@golang.org>2019-02-01 15:26:48 +0000
commit03a9f5a192149dc6f443eb0e1cee48cb4dd7e26f (patch)
treea712da0bbb074684eafaf295ce0c1beff7d23a72
parent6f4dc1ccf9735013fdb7cd044bda29d19bebb906 (diff)
downloadgo-03a9f5a192149dc6f443eb0e1cee48cb4dd7e26f.tar.gz
go-03a9f5a192149dc6f443eb0e1cee48cb4dd7e26f.zip
doc: go1.12: update notes on go directive
Fixes #30043 Change-Id: I4ecfff7d8a9432240c1927f7484786fe1182b773 Reviewed-on: https://go-review.googlesource.com/c/160797 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
-rw-r--r--doc/go1.12.html8
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/go1.12.html b/doc/go1.12.html
index fbe0c6a17c..e92d368386 100644
--- a/doc/go1.12.html
+++ b/doc/go1.12.html
@@ -181,10 +181,10 @@ tour
<p><!-- CL 147282, 147281 -->
The <code>go</code> directive in a <code>go.mod</code> file now indicates the
- version of the language used by the files within that module, and
- <code>go</code> <code>mod</code> <code>tidy</code> sets it to the
- current release (<code>go</code> <code>1.12</code>) if no existing
- version is present.
+ version of the language used by the files within that module.
+ It will be set to the current release
+ (<code>go</code> <code>1.12</code>) if no existing version is
+ present.
If the <code>go</code> directive for a module specifies a
version <em>newer</em> than the toolchain in use, the <code>go</code> command
will attempt to build the packages regardless, and will note the mismatch only if