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

Comments

Projects
None yet
5 participants
@anacrolix
Copy link
Contributor

commented Apr 28, 2015

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 label Apr 28, 2018

@agnivade

This comment has been minimized.

Copy link
Member

commented May 4, 2018

Exact duplicate of #6600. Closing.

@agnivade agnivade closed this 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.
You can’t perform that action at this time.