]> Cypherpunks repositories - gostls13.git/commit
net: add Example for Unix dialer with context
authorKevin Burke <kev@inburke.com>
Sun, 18 Oct 2020 16:49:16 +0000 (09:49 -0700)
committerKevin Burke <kev@inburke.com>
Wed, 21 Oct 2020 23:53:08 +0000 (23:53 +0000)
commita29dd1f2bd0ee0048f03782ba67034a0441a147e
treeb3e849c2db6086bc397d23593522053d89104e9e
parentcb768c801a9cafa18fe7805ac70bd947930fcdc7
net: add Example for Unix dialer with context

Showing users how to accomplish this more easily is a compromise
between doing nothing and adding a new API to the net package.

Fixes #38506.

Change-Id: I43f831cf94951c987cf3c8c1aa55f0012ee8034e
Reviewed-on: https://go-review.googlesource.com/c/go/+/263417
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Trust: Brad Fitzpatrick <bradfitz@golang.org>
src/net/example_test.go