e9467dc540
Adds support for credential helpers Signed-off-by: umohnani8 <umohnani@redhat.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()
|
|
}
|