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

Open
robpike opened this Issue Dec 12, 2018 · 0 comments

Comments

Projects
None yet
2 participants
@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 label Dec 12, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment