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/go: go doc builtin lists only types #3612

Closed
robpike opened this issue May 11, 2012 · 3 comments
Closed

cmd/go: go doc builtin lists only types #3612

robpike opened this issue May 11, 2012 · 3 comments

Comments

@robpike
Copy link
Contributor

robpike commented May 11, 2012

The output of

go doc builtin

has only the types (which in this case are utterly meaningless), while the output of

godoc builtin

contains the full documentation. I cannot see a reason for this distinction.

Note: miekg's book singles out this difference up top.
@rsc
Copy link
Contributor

rsc commented May 15, 2012

Comment 1:

my fault, invoking godoc wrong.
also shows up as bad import paths (go doc fmt | sed 10q)

Owner changed to @rsc.

@rsc
Copy link
Contributor

rsc commented May 15, 2012

Comment 2:

Labels changed: added go1.0.2.

@rsc
Copy link
Contributor

rsc commented May 15, 2012

Comment 3:

This issue was closed by revision 0c8f469.

Status changed to Fixed.

@rsc rsc added this to the Go1.0.2 milestone Apr 14, 2015
@rsc rsc removed the go1.0.2 label Apr 14, 2015
rsc added a commit that referenced this issue May 11, 2015
««« backport 5b1e024a5e89
cmd/go: invoke godoc with import path when possible
Also add -n -x flags to doc, fmt, vet.
Also shorten unknown command error.

Fixes #3612.
Fixes #3613.

R=golang-dev, bradfitz, r
CC=golang-dev
https://golang.org/cl/6211053

»»»
@golang golang locked and limited conversation to collaborators Jun 24, 2016
@rsc rsc removed their assignment Jun 22, 2022
This issue was closed.
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

3 participants