]> Cypherpunks repositories - gostls13.git/commit
net: update documentation on Dial and its variants
authorMikio Hara <mikioh.mikioh@gmail.com>
Sun, 8 Jan 2017 08:15:54 +0000 (17:15 +0900)
committerMikio Hara <mikioh.mikioh@gmail.com>
Thu, 22 Jun 2017 08:30:59 +0000 (08:30 +0000)
commit7e63ce61e640a9e2b14ff545c28bf5d7a6f730f3
tree279918aa5a9893171ea7cbaa1f493ae20a1a9f22
parentb3301865a025fda72b8d327fad4461bb7bf68600
net: update documentation on Dial and its variants

This change clarifies the documentation on Dial and its variants to
avoid unnecessary confusion about how the arguments for the connection
setup functions are used to make connections.

Also replaces "name" or "hostname" with "host name" when the term
implies the use of DNS.

Updates #17613.
Fixes #17614.
Fixes #17738.
Fixes #17956.
Updates #18806.

Change-Id: I6adb3f2ae04a3bf83b96016ed73d8e59926f3e8a
Reviewed-on: https://go-review.googlesource.com/34875
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/net/dial.go
src/net/lookup.go