From: Bryan C. Mills
Date: Thu, 11 Feb 2021 21:24:26 +0000 (-0500)
Subject: doc/go1.16: note that package path elements beginning with '.' are disallowed
X-Git-Tag: go1.16~1^2~10
X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=ff0e93ea313e53f08018b90bada2edee267a8f55;p=gostls13.git
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
Run-TryBot: Bryan C. Mills
TryBot-Result: Go Bot
Reviewed-by: Jay Conrod
---
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.
-
- The go
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.
+
+ In module mode, the go
command now disallows import paths that
+ include non-ASCII characters or path elements with a leading dot character
+ (.
). Module paths with these characters were already disallowed
+ (see Module paths and versions),
+ so this change affects only paths within module subdirectories.
Embedding Files