You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A module path must satisfy the following requirements:
The path must consist of one or more path elements separated by slashes (/, U+002F). It must not begin or end with a slash.
Each path element is a non-empty string made of up ASCII letters, ASCII digits, and limited ASCII punctuation (-, ., _, and ~).
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).
jayconrod
changed the title
malformed import path error for paths with plus sign in go1.16
cmd/go: malformed import path error for paths with plus sign in go1.16
Mar 22, 2021
Go 1.15 used to compile package names with + signs in them, however, in Go 1.16 I get an error (tested on both macOS and Linux).
What version of Go are you using?
Does this issue reproduce with the latest release?
Yes
What did you do?
Let's create 3 files:
Then
go build ./...
What did you expect to see?
No errors
What did you see instead?
The text was updated successfully, but these errors were encountered: