Skip to content

Commit eb9356b

Browse files
committed
doc/go1.11: mention import path restriction
Change-Id: I18a6915614a317adb4da710a01268b574300f0e0 Reviewed-on: https://go-review.googlesource.com/123096 Run-TryBot: Russ Cox <[email protected]> Reviewed-by: Bryan C. Mills <[email protected]>
1 parent ec88f78 commit eb9356b

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

doc/go1.11.html

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,18 @@ <h3 id="modules">Modules, package versioning, and dependency management</h3>
8989
TODO: Link to intro doc.
9090
</p>
9191

92+
<h3 id="importpath">Import path restriction</h3>
93+
94+
<p>
95+
Because Go module support assigns special meaning to the
96+
<code>@</code> symbol in command line operations,
97+
the <code>go</code> command now disallows the use of
98+
import paths containing <code>@</code> symbols.
99+
Such import paths were never allowed by <code>go</code> <code>get</code>,
100+
so this restriction can only affect users building
101+
custom GOPATH trees by other means.
102+
</p>
103+
92104
<h3 id="gopackages">Package loading</h2>
93105

94106
<p>

0 commit comments

Comments
 (0)