Open hiranya911 opened 4 years ago
Problem seems to be occurring with members that are multiple levels nested.
package foo
type Foo struct {
*bar
}
func (f *Foo) DoFoo() {
}
type bar struct {
*baz
}
func (b *bar) DoBar() {
}
type baz struct {
}
func (b *baz) DoBaz() {
}
go doc -all
on this produces the expected result:
TYPES
type Foo struct {
// Has unexported fields.
}
func (b Foo) DoBar()
func (b Foo) DoBaz()
func (f *Foo) DoFoo()
But godoc
html output will not list DoBaz()
.
Possibly a known issue as per https://github.com/golang/go/issues/9762 and https://github.com/golang/go/issues/6127
Example: https://godoc.org/firebase.google.com/go/auth
Both
auth.Client
andauth.TenantClient
has many exported members that are inherited from various embedded members. None of these are displayed on the generated output.I see that this has happened before (#25) and was fixed, but it seems to be happening again.
Output from running
go doc -all
locally: