aboutsummaryrefslogtreecommitdiff
path: root/vendor/github.com/docker/docker-credential-helpers/osxkeychain/url_go18.go
blob: 0b7297d2fc4ff75f1607fceefa6f60c8d05fa449 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
//+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()
}