Skip to content

godoc should compute actual method set #1000

Closed
@rsc

Description

@rsc
type foo struct { }

// Doc comment
func (f *foo) Method()

type T struct {
    foo
}

It would be nice if godoc showed Method as a method of T.

There is code in package net that could be simplified by
using embedded types, but it is not, because doing so would
lose method documentation.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions