From: Ian Lance Taylor Date: Fri, 1 Feb 2019 14:22:00 +0000 (-0800) Subject: doc: go1.12: update notes on go directive X-Git-Tag: go1.12rc1~18 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=03a9f5a192149dc6f443eb0e1cee48cb4dd7e26f;p=gostls13.git 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 --- 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

The go directive in a go.mod file now indicates the - version of the language used by the files within that module, and - go mod tidy sets it to the - current release (go 1.12) 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 + (go 1.12) if no existing version is + present. If the go directive for a module specifies a version newer than the toolchain in use, the go command will attempt to build the packages regardless, and will note the mismatch only if