diff options
| author | Jay Conrod <jayconrod@google.com> | 2021-08-23 14:15:02 -0700 |
|---|---|---|
| committer | Jay Conrod <jayconrod@google.com> | 2021-08-24 21:45:50 +0000 |
| commit | 21c654529d6520342a0d154299d1ab2c964dab6e (patch) | |
| tree | 182f92a97e413f5cafe44ad912e537ae74a46455 /_content/ref/mod.md | |
| parent | 3bee3041b4cb3b0190774d594a01c9292f7e592a (diff) | |
| download | go-x-website-21c654529d6520342a0d154299d1ab2c964dab6e.tar.xz | |
_content/ref/mod: document that module paths can't contain short names
Fixes golang/go#47493
Change-Id: I97d929e646b107766ed44f9bd120ab07e15429e4
Reviewed-on: https://go-review.googlesource.com/c/website/+/344569
Trust: Jay Conrod <jayconrod@google.com>
Run-TryBot: Jay Conrod <jayconrod@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Michael Matloob <matloob@golang.org>
Diffstat (limited to '_content/ref/mod.md')
| -rw-r--r-- | _content/ref/mod.md | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/_content/ref/mod.md b/_content/ref/mod.md index 10f5fd72..500cf379 100644 --- a/_content/ref/mod.md +++ b/_content/ref/mod.md @@ -414,6 +414,8 @@ A module path must satisfy the following requirements: * A path element may not begin or end with a dot (`.`, U+002E). * The element prefix up to the first dot must not be a reserved file name on Windows, regardless of case (`CON`, `com1`, `NuL`, and so on). +* The element prefix up to the first dot must not end with a tilde followed by + one or more digits (like `EXAMPL~1.COM`). If the module path appears in a `require` directive and is not replaced, or if the module paths appears on the right side of a `replace` directive, |
