Skip to content

Commit 03a9f5a

Browse files
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>
1 parent 6f4dc1c commit 03a9f5a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

doc/go1.12.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -181,10 +181,10 @@ <h3 id="modules">Modules</h3>
181181

182182
<p><!-- CL 147282, 147281 -->
183183
The <code>go</code> directive in a <code>go.mod</code> file now indicates the
184-
version of the language used by the files within that module, and
185-
<code>go</code> <code>mod</code> <code>tidy</code> sets it to the
186-
current release (<code>go</code> <code>1.12</code>) if no existing
187-
version is present.
184+
version of the language used by the files within that module.
185+
It will be set to the current release
186+
(<code>go</code> <code>1.12</code>) if no existing version is
187+
present.
188188
If the <code>go</code> directive for a module specifies a
189189
version <em>newer</em> than the toolchain in use, the <code>go</code> command
190190
will attempt to build the packages regardless, and will note the mismatch only if

0 commit comments

Comments
 (0)