On Fri, Feb 26, 2021 at 12:07 PM John Dreystadt <jdreyst...@gmail.com> wrote:
>
> The documentation for  func (*ListenConfig) Listen ends with the line "See 
> func Listen for a description of the network and address parameters". The 
> next function called ListenPacket has the same line with the name changed to 
> ListenPacket. I think that these should actually say "See func Dial for a 
> description of the network and address parameters". Can someone show me what 
> I am missing? If not, I can open an issue.

The documentation is not wrong, in that the function Listen does have
network and address parameters.  But it's also true that the docs for
Listen, and ListenPacket, say "// See func Dial for a description of
the network and address parameters."  So it would be reasonable for
the Listen and ListenPacket methods to also refer directly to Dial.
Feel free to open an issue or to just send a fix without opening an
issue.  Thanks.

Ian

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/CAOyqgcXeA%3DRsF291tms4pDskPi_qEvvUSdRENy_KnXyTh6GLuA%40mail.gmail.com.

Reply via email to