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

x/tools/cmd/godoc: public embedded struct fields are not shown #10593

Closed
anacrolix opened this issue Apr 28, 2015 · 1 comment
Closed

x/tools/cmd/godoc: public embedded struct fields are not shown #10593

anacrolix opened this issue Apr 28, 2015 · 1 comment
Labels
FrozenDueToAge NeedsFix The path to resolution is known, but the work has not been done.
Milestone

Comments

@anacrolix
Copy link
Contributor

type a struct {
    B struct{}
}

func (a) C() {}

type D struct {
    a
}

godoc will show C, but not B. B is accessible, comes up with various auto-complete tools etc.

@robpike robpike added this to the Unplanned milestone Apr 28, 2015
@agnivade agnivade changed the title godoc doesn't show public embedded struct fields x/tools/cmd/godoc: public embedded struct fields are not shown Apr 28, 2018
@agnivade agnivade added the NeedsFix The path to resolution is known, but the work has not been done. label Apr 28, 2018
@agnivade
Copy link
Contributor

agnivade commented May 4, 2018

Exact duplicate of #6600. Closing.

@agnivade agnivade closed this as completed May 4, 2018
@golang golang locked and limited conversation to collaborators May 4, 2019
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

5 participants