]> Cypherpunks repositories - gostls13.git/commit
net/url: add URL.Hostname and URL.Port accessors
authorBrad Fitzpatrick <bradfitz@golang.org>
Fri, 9 Sep 2016 19:29:25 +0000 (19:29 +0000)
committerBrad Fitzpatrick <bradfitz@golang.org>
Fri, 9 Sep 2016 22:55:42 +0000 (22:55 +0000)
commit1ff19201fd898c3e1a0ed5d3458c81c1f062570b
tree429c5ab18fc71a00a3d24da9022883c476d21b7a
parent6e87082d41f0267b39e6a1854d655b1d1c2f7541
net/url: add URL.Hostname and URL.Port accessors

Fixes #16142

Change-Id: I7609faaf00c69646b0bd44a60a63a22d9265feb0
Reviewed-on: https://go-review.googlesource.com/28933
Reviewed-by: Joe Tsai <thebrokentoaster@gmail.com>
Reviewed-by: Francesc Campoy Flores <campoy@golang.org>
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/net/url/url.go
src/net/url/url_test.go