-
Notifications
You must be signed in to change notification settings - Fork 18.5k
Open
Labels
GoCommandcmd/gocmd/goNeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.help wanted
Milestone
Description
Proposal Details
Hi!
I was recently using a new GO module in my project.
There was code like this:
type (
A struct {}
B struct { *A }
)
func (*A) Foo() {}Tybe B however was a large struct with many methods and exported fields.
I had a code example that used method Foo and I just wanted to know more about i.
I used go doc B.Foo but it said doc: no method or field B.Foo in package.
I suppose, that because call like this is 100% possible &B{}.Foo(), above go doc call should return documentation for Foo
Metadata
Metadata
Assignees
Labels
GoCommandcmd/gocmd/goNeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.help wanted