Skip to content

net: Addr interface documentation unclear #16014

@turnage

Description

@turnage

The Addr Network() method's comment/doc is unclear.

The Network() method as implemented by IPAddr is not the name of a given network, but the name of the protocol of the Addr implementation.

Maybe "Network Name" is the appropriate terminology for this, but it is hard to search. I don't know what it should say but I think more would be helpful.

Edits: ianlancetaylor's correction.

Metadata

Metadata

Assignees

No one assigned

    Labels

    DocumentationIssues describing a change to documentation.FrozenDueToAgeNeedsFixThe path to resolution is known, but the work has not been done.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions