-
Notifications
You must be signed in to change notification settings - Fork 18.5k
Open
Labels
NeedsInvestigationSomeone 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.pkgsite
Milestone
Description
Currently godoc does not list the base type of type, for example: http://golang.org/pkg/encoding/json/#Decoder type Decoder func NewDecoder(r io.Reader) *Decoder func (dec *Decoder) Buffered() io.Reader type Marshaler type MarshalerError func (e *MarshalerError) Error() string It would be really nice if this were listed as: type Decoder struct func NewDecoder(r io.Reader) *Decoder func (dec *Decoder) Buffered() io.Reader type Marshaler interface type MarshalerError struct func (e *MarshalerError) Error() string It's often hard to tell if a name represents an interface or a methodless non-interface (for example, here Decoder has the -er suffix typical of interfaces). Additionally, many times the use of a type is much clearer if it is easily seen that it has an int as the underlying representation (or whatever).
Metadata
Metadata
Assignees
Labels
NeedsInvestigationSomeone 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.pkgsite