diff options
author | Bryan C. Mills <bcmills@google.com> | 2021-02-11 16:24:26 -0500 |
---|---|---|
committer | Bryan C. Mills <bcmills@google.com> | 2021-02-12 18:20:28 +0000 |
commit | ff0e93ea313e53f08018b90bada2edee267a8f55 (patch) | |
tree | 34200fb43b2831579fe9922efcb3bf1efdf4c39c | |
parent | 249da7ec020e194208c02c8eb6a04d017bf29fea (diff) | |
download | go-ff0e93ea313e53f08018b90bada2edee267a8f55.tar.gz go-ff0e93ea313e53f08018b90bada2edee267a8f55.zip |
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>
-rw-r--r-- | doc/go1.16.html | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/doc/go1.16.html b/doc/go1.16.html index f6f72c3882..d5de0ee5ce 100644 --- a/doc/go1.16.html +++ b/doc/go1.16.html @@ -174,10 +174,12 @@ Do not send CLs removing the interior tags from such phrases. non-reproducible builds. </p> -<p><!-- golang.org/issue/43052 --> - The <code>go</code> command now disallows non-ASCII import paths in module - mode. Non-ASCII module paths have already been disallowed so this change - affects module subdirectory paths that contain non-ASCII characters. +<p><!-- golang.org/issue/43052, golang.org/issue/43985 --> + In module mode, the <code>go</code> command now disallows import paths that + include non-ASCII characters or path elements with a leading dot character + (<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> <h4 id="embed">Embedding Files</h4> |