From 03a9f5a192149dc6f443eb0e1cee48cb4dd7e26f Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Fri, 1 Feb 2019 06:22:00 -0800 Subject: [PATCH] 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 --- doc/go1.12.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/go1.12.html b/doc/go1.12.html index fbe0c6a17cc5d..e92d36838686d 100644 --- a/doc/go1.12.html +++ b/doc/go1.12.html @@ -181,10 +181,10 @@

Modules

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