]> Cypherpunks repositories - gostls13.git/commitdiff
doc/go1.11: mention import path restriction
authorRuss Cox <rsc@golang.org>
Tue, 10 Jul 2018 21:14:14 +0000 (17:14 -0400)
committerRuss Cox <rsc@golang.org>
Tue, 10 Jul 2018 21:18:10 +0000 (21:18 +0000)
Change-Id: I18a6915614a317adb4da710a01268b574300f0e0
Reviewed-on: https://go-review.googlesource.com/123096
Run-TryBot: Russ Cox <rsc@golang.org>
Reviewed-by: Bryan C. Mills <bcmills@google.com>
doc/go1.11.html

index d09552b5e9bb4397bea0c4e20d8ecf73fe71acb7..ede22a5a9a45ca58e5179069b156a0dcd8f555a0 100644 (file)
@@ -89,6 +89,18 @@ Do not send CLs removing the interior tags from such phrases.
   TODO: Link to intro doc.  
 </p>
 
+<h3 id="importpath">Import path restriction</h3>
+
+<p>
+  Because Go module support assigns special meaning to the
+  <code>@</code> symbol in command line operations,
+  the <code>go</code> command now disallows the use of
+  import paths containing <code>@</code> symbols.
+  Such import paths were never allowed by <code>go</code> <code>get</code>,
+  so this restriction can only affect users building
+  custom GOPATH trees by other means.
+</p>
+
 <h3 id="gopackages">Package loading</h2>
 
 <p>