-
Notifications
You must be signed in to change notification settings - Fork 18k
cmd/go: 'go mod init' error in temp directory is vague #30678
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
In this example, the directory where
We should have a better error message for this though, especially since a lot of people will see this the first time they try modules. |
I see. I thought it used to pick up a remote from vcs for two level domains O.K., but I can not reproduce this on the latest release branch anymore. So current behavior seems to be consistent for both two and three level domains. Thanks for comment! |
@andrewmed It looks like it will check if there's a |
Change https://golang.org/cl/166319 mentions this issue: |
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
yes
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
init go module in git repository
What did you expect to see?
go module initialized
What did you see instead?
go mod does not recognize vcs with three level domains:
The text was updated successfully, but these errors were encountered: