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.
The text was updated successfully, but these errors were encountered: