mirror of
https://github.com/golang/go
synced 2024-11-14 06:20:23 -07:00
doc/go1.16: note that package path elements beginning with '.' are disallowed
For #43985 Change-Id: I1a16f66800c5c648703f0a0d2ad75024525a710f Reviewed-on: https://go-review.googlesource.com/c/go/+/291389 Trust: Bryan C. Mills <bcmills@google.com> Run-TryBot: Bryan C. Mills <bcmills@google.com> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Jay Conrod <jayconrod@google.com>
This commit is contained in:
parent
249da7ec02
commit
ff0e93ea31
@ -174,10 +174,12 @@ Do not send CLs removing the interior tags from such phrases.
|
|||||||
non-reproducible builds.
|
non-reproducible builds.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p><!-- golang.org/issue/43052 -->
|
<p><!-- golang.org/issue/43052, golang.org/issue/43985 -->
|
||||||
The <code>go</code> command now disallows non-ASCII import paths in module
|
In module mode, the <code>go</code> command now disallows import paths that
|
||||||
mode. Non-ASCII module paths have already been disallowed so this change
|
include non-ASCII characters or path elements with a leading dot character
|
||||||
affects module subdirectory paths that contain non-ASCII characters.
|
(<code>.</code>). Module paths with these characters were already disallowed
|
||||||
|
(see <a href="/ref/mod#go-mod-file-ident">Module paths and versions</a>),
|
||||||
|
so this change affects only paths within module subdirectories.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<h4 id="embed">Embedding Files</h4>
|
<h4 id="embed">Embedding Files</h4>
|
||||||
|
Loading…
Reference in New Issue
Block a user