mirror of
https://github.com/genuinetools/reg.git
synced 2024-09-28 20:06:19 -04:00
3834c605e5
Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
13 lines
170 B
Go
13 lines
170 B
Go
//+build go1.8
|
|
|
|
package osxkeychain
|
|
|
|
import "net/url"
|
|
|
|
func getHostname(u *url.URL) string {
|
|
return u.Hostname()
|
|
}
|
|
|
|
func getPort(u *url.URL) string {
|
|
return u.Port()
|
|
}
|