]> Cypherpunks repositories - gostls13.git/commitdiff
doc: release notes: "go tool vet" is no longer supported
authorIan Lance Taylor <iant@golang.org>
Mon, 3 Dec 2018 22:58:38 +0000 (14:58 -0800)
committerIan Lance Taylor <iant@golang.org>
Tue, 4 Dec 2018 03:33:14 +0000 (03:33 +0000)
Updates #28869

Change-Id: Ie152bf959af2e9cd32b1ccc031e8208e64fbe3ce
Reviewed-on: https://go-review.googlesource.com/c/152161
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Reviewed-by: Alan Donovan <adonovan@google.com>
doc/go1.12.html

index 9a5d4bc621c435fa3a9a23d7687a632ecdb0515c..c398a1131681cc60b4086c6edbdbfa1b3bc4e0f6 100644 (file)
@@ -56,6 +56,19 @@ Go 1.13 will require macOS 10.11 El Capitan or later.
 
 <h2 id="tools">Tools</h2>
 
+<h3 id="vet"><code>go tool vet</code> no longer supported</h3>
+
+<p>
+  The <code>go vet</code> command has been rewritten to serve as the
+  base for a range of different source code analysis tools. See
+  the <a href="https://godoc.org/golang.org/x/tools/go/analysis">golang.org/x/tools/go/analysis</a>
+  package for details. A side-effect is that <code>go tool vet</code>
+  is no longer supported. External tools that use <code>go tool
+  vet</code> must be changed to use <code>go
+  vet</code>. Using <code>go vet</code> instead of <code>go tool
+  vet</code> should work with all supported versions of Go.
+</p>
+
 <h3 id="gocache">Build cache requirement</h3>
 
 <p>