1
0
mirror of https://github.com/golang/go synced 2024-11-11 22:20:22 -07:00

doc/go1.11: mention import path restriction

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>
This commit is contained in:
Russ Cox 2018-07-10 17:14:14 -04:00
parent ec88f781c2
commit eb9356b7a2

View 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>