-
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
cmd/go: clean on module uses directory name #26991
Labels
Milestone
Comments
Likely the same root cause as #27283. |
Possibly same root cause but possibly not. In any event I agree it should use the final (non-version) element of the module path. |
The current behavior is that we try to delete both:
So I think we now clean the proper files? There is the question of whether we still want to delete the example files, but that can be a different issue if it's a problem for people. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What version of Go are you using (
go version
)?What operating system and processor architecture are you using (
go env
)?What did you do?
What did you expect to see?
go clean
should use the module name to delete rather than the directory name.What did you see instead?
go clean
attempted to use the directory name to delete the previously created executable.The text was updated successfully, but these errors were encountered: