-
Notifications
You must be signed in to change notification settings - Fork 18k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
net: add examples #5757
Comments
what is the intention and scope of examples in the documentation? is it defined how examples complement the documentation? |
@adg Have a moment to answer @marcellanz's question? Thank you! |
@marcellanz, examples are documentation. Some people prefer to learn by reading code instead of reading words. |
net package have just one example https://golang.org/pkg/net/#example_Listener And even that fails with following error. ` goroutine 1 [semacquire]: I'm thinking covering some examples for net package. Can we use any ports in the examples? just wondering how it will work |
CL https://golang.org/cl/42912 mentions this issue. |
Further examples to support the net package. See issue golang#5757 Change-Id: I839fd97a468c8d9195e8f4a0ee886ba50ca3f382
Further examples to support the net package. See issue #5757 Change-Id: I839fd97a468c8d9195e8f4a0ee886ba50ca3f382 Reviewed-on: https://go-review.googlesource.com/42912 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org> Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
CL https://golang.org/cl/43711 mentions this issue. |
Further examples to support the net package. Updates #5757 Change-Id: I9b65521d211f6c404b9103c1eaf22b0772eb242e Reviewed-on: https://go-review.googlesource.com/43711 Reviewed-by: Mikio Hara <mikioh.mikioh@gmail.com>
The package now has 8 examples, so perhaps this could be closed as fixed? |
The text was updated successfully, but these errors were encountered: