net: Addr interface documentation unclear #16014
Closed
Labels
Milestone
Comments
The |
FWIW, I have a draft for #10624 like the following, but it's still too much explanation. Need a wordsmith.
|
CL https://golang.org/cl/32097 mentions this issue. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
The text was updated successfully, but these errors were encountered: