-
Notifications
You must be signed in to change notification settings - Fork 18k
cmd/go: mention go get
in go help mod
#44726
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
Comments
Do you mean to use |
I don't know about depreciating |
go get
in go help mod
This change adds a 'update' command to 'go mod' for updating module dependencies. Fixes golang#44726
This change adds an 'update' command to 'go mod' for updating module dependencies. Fixes golang#44726
Change https://golang.org/cl/374614 mentions this issue: |
Are we actually suggesting that In terms of docs, I do think
If you think the docs aren't clear enough, how do you suggest we improve them? It's understandable that you expected Also, in terms of "just update all dependencies", see #28424. |
Yes I expected this tree to be clear, as where I learn very fast by looking at well structured data in key:value pair - not by having to execute 2 additional commands which my brain fogs a little specially as I am not native english speaker. When working with structure data I would expect
|
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes
What did you do?
I were working with a module using command
go mod
; i expected that i can update dependency with commands:go mod update -u <dependency>
go mod update <dependency>@commit
What did you expect to see?
I expected for this to work.
I expected for this to show in
go help mod
:What did you see instead?
After asking a question regarding this topic on golang slack channel i received help from
Tim Heckman
that stated:He nicely explained to me that i have to use:
Which for me is confusing - i expected that subcommand to be related to
go mod
but - it's not in the help of that command - while it's clearly related to modules.The text was updated successfully, but these errors were encountered: