You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems like a lot of the API documentation is not visible on go.dev or godoc.org because of the fact that these methods belong to private structs used as mixins into public structs.
So for example the *Application returned by kingpin.New has a Flag method provided by its embedded cmdMixin, which in turn embeds a *flagGroup. But this method is entirely missing from the API docs because flagGroup is private.
I don't know that this is easily fixable in v2 but it'd be really nice to fix this in v3.
The text was updated successfully, but these errors were encountered:
autarch
changed the title
Documentation is hidden because of public methods on private structs
Documentation of public methods on private structs is hidden
Jan 17, 2020
It seems like a lot of the API documentation is not visible on go.dev or godoc.org because of the fact that these methods belong to private structs used as mixins into public structs.
So for example the
*Application
returned bykingpin.New
has aFlag
method provided by its embeddedcmdMixin
, which in turn embeds a*flagGroup
. But this method is entirely missing from the API docs becauseflagGroup
is private.I don't know that this is easily fixable in v2 but it'd be really nice to fix this in v3.
The text was updated successfully, but these errors were encountered: