-
Notifications
You must be signed in to change notification settings - Fork 18k
cmd/go: can't build plugin package when module is named plugin
#58321
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
Labels
Comments
The problem is the module path: Go 1.20 at least gives a somewhat more helpful error message:
|
plugin
Duplicate of #39285 |
Duplicate of #35270 |
@bcmills called it! Thank you very much. |
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?
/
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
What did you expect to see?
Successfully built plugin.
What did you see instead?
Complaints about having one main package:
The text was updated successfully, but these errors were encountered: