x/pkgsite: missing functions for unexported embedded struct #48722
Labels
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
pkgsite
Milestone
The wui library documentation is missing some functions.
Take the
Button
: it has an embeddedtextContol
struct which in turn embedscontrol
which has exported functionSetX
. Here are the code links:Button
textControl
control
control.SetX(x int)
Now the documentation does not list
SetX
under theButton
type.This is true for a number of types but not for all of them.
As a counter example,
SetX
is documented to be part ofFloatUpDown
which has one more indirection by embeddingtextEditControl
, which then embedstextControl
as above.FloatUpDown
textEditControl
I suspect this might be a corner case with unexported embedded structs which have exported functions.
The text was updated successfully, but these errors were encountered: