-
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 install package pattern doesn't work like go get in 1.17 #49101
Comments
the For questions please refer to https://github.com/golang/go/wiki/Questions |
@seankhliao I got it working, but I don't understand, as the docs don't say what to do (not sure why you listed what you did).
Of course after submitting a bug, I got 'something' to work 30s later.
I would go as far saying this is a documentation bug at a minimum; I checked three places (per the tools themselves) and none of them work or explain what to do next. |
The 'something' is correct. The |
Change https://golang.org/cl/357714 mentions this issue: |
I guess I don't understand how the pattern is irrelevant. The point of the patter was to download all the packages. Without the pattern you have to know the name of the packages and do each one. |
The pattern is irrelevant for the deprecation, which turns an binary install command from |
Looking back and based on what you just wrote I agree that is the change. Thanks for helping. I do feel what you wrote is more clear than all of the other docs, including the propsal https://golang.org/doc/go-get-install-deprecation where they mention patterns only briefly:
All those words (in proposal and other help sources, could be improved with your comment. Thanks again. |
Updates golang/go#43684 Updates golang/go#49101 Change-Id: I2f0c7920bcd6ce0429f1b7bdda3747bf376775f2 Reviewed-on: https://go-review.googlesource.com/c/tools/+/357714 Reviewed-by: Rebecca Stambler <rstambler@golang.org> Trust: Rebecca Stambler <rstambler@golang.org> Trust: Peter Weinberger <pjw@google.com> Run-TryBot: Rebecca Stambler <rstambler@golang.org> gopls-CI: kokoro <noreply+kokoro@google.com> TryBot-Result: Go Bot <gobot@golang.org>
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?
What did you expect to see?
Per the help page, install supports package pattern wildcard ..., so assumed it would work the same.
What did you see instead?
No packages.
The text was updated successfully, but these errors were encountered: