net/url: add URL.Hostname and URL.Port accessors
Fixes #16142 Change-Id: I7609faaf00c69646b0bd44a60a63a22d9265feb0 Reviewed-on: https://go-review.googlesource.com/28933Reviewed-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>
Showing
Please register or sign in to comment