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

cmd/doc: go doc <remote-symbol> doesn't work any more #29200

Closed
robpike opened this issue Dec 12, 2018 · 1 comment
Closed

cmd/doc: go doc <remote-symbol> doesn't work any more #29200

robpike opened this issue Dec 12, 2018 · 1 comment
Labels
FrozenDueToAge NeedsFix The path to resolution is known, but the work has not been done.
Milestone

Comments

@robpike
Copy link
Contributor

robpike commented Dec 12, 2018

Somewhere along the way, changes to the doc command lost the ability to look for a symbol not in the current package. When first written, one could say

go tool doc fprintf

and learn about fmt.Fprintf. Most important, it would locate the definition, or at least some definition of that symbol. I think it did that, anyway; and go tool doc -help indicates it is supposed to work; there is a line

go doc <sym>[.<method>]

Now, the help for go doc (using the go command rather than the tool directly) doesn't mention it, but that's understandable.

Low priority but it would be nice to get this back.

@robpike robpike added this to the Go1.13 milestone Dec 12, 2018
@robpike robpike self-assigned this Dec 12, 2018
@ALTree ALTree added the NeedsFix The path to resolution is known, but the work has not been done. label Dec 12, 2018
@robpike
Copy link
Contributor Author

robpike commented Apr 16, 2019

False memory; I think this was a feature of its predecessor.

@robpike robpike closed this as completed Apr 16, 2019
@golang golang locked and limited conversation to collaborators Apr 15, 2020
@rsc rsc unassigned robpike Jun 23, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
FrozenDueToAge NeedsFix The path to resolution is known, but the work has not been done.
Projects
None yet
Development

No branches or pull requests

3 participants