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: support for the pkg.method syntax is undocumented #12377

Closed
masiulaniec opened this issue Aug 28, 2015 · 1 comment
Closed

cmd/doc: support for the pkg.method syntax is undocumented #12377

masiulaniec opened this issue Aug 28, 2015 · 1 comment

Comments

@masiulaniec
Copy link

What version of Go are you using (go version)?

go version go1.5 darwin/amd64

What did you do?

go doc json.Decode

What did you expect to see?

An error. The documentation for 'go doc' makes me believe that the pkg.method syntax is illegal.

What did you see instead?

Documentation for the Decode method of encoding/json.Decoder.

To be clear, I like the current behavior, it's just that the help text for 'go doc' does not seem to advertise this functionality.

@gopherbot
Copy link

CL https://golang.org/cl/14121 mentions this issue.

@robpike robpike closed this as completed in 45537d8 Sep 2, 2015
@golang golang locked and limited conversation to collaborators Sep 4, 2016
@rsc rsc unassigned robpike Jun 23, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants