Skip to content
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

main.go:28:8: import "cmd/go" is a program, not an importable package #40133

Closed
lizhi123 opened this issue Jul 9, 2020 · 6 comments
Closed

Comments

@lizhi123
Copy link

lizhi123 commented Jul 9, 2020

https://github.com/golang/vgo 安装vgo异常:

main.go:28:8: import "cmd/go" is a program, not an importable package

@mvdan
Copy link
Member

mvdan commented Jul 9, 2020

Yes, that is working as intended. You cannot import main packages.

The Go project doesn't use the issue tracker for questions. See https://golang.org/wiki/Questions.

@mvdan mvdan closed this as completed Jul 9, 2020
@lizhi123
Copy link
Author

lizhi123 commented Jul 9, 2020

how can i do it?

@ianlancetaylor
Copy link
Contributor

@lizhi123 Please see https://golang.org/wiki/Questions (as already mentioned). Thanks.

@lizhi123
Copy link
Author

lizhi123 commented Jul 10, 2020

@ianlancetaylor sorry,I can't find it, Please give Detail URL。

Thanks!

@davecheney
Copy link
Contributor

Thank you for raising this issue. Unlike many projects, the Go project does not use GitHub Issues for general discussion or asking questions. GitHub Issues are used for tracking bugs and proposals only.

For asking questions, see:

@lizhi123
Copy link
Author

@davecheney means go to above any website raising this issue again?

@golang golang locked and limited conversation to collaborators Jul 13, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

5 participants