-
Notifications
You must be signed in to change notification settings - Fork 17.9k
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
go mod does not work correctly #31025
Labels
Comments
the gopath files :
|
The error message here is correct. There is no importable package at the root of the |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
i am using the latest version download from golang.org/dl
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
i created a test project using go mod, but it got a mistakes when building.
the detail as follows:
main.go
go.mod
What did you expect to see?
if it run correctly,it should print 'x'
What did you see instead?
The text was updated successfully, but these errors were encountered: