cri-o/vendor/github.com/docker/docker-credential-helpers/osxkeychain/url_go18.go

14 lines
170 B
Go
Raw Normal View History

//+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()
}