1// +build go1.823packageaws45import"net/url"67// URLHostname will extract the Hostname without port from the URL value.8//9// Wrapper of net/url#URL.Hostname for backwards Go version compatibility.10funcURLHostname(url *url.URL) string {
11returnurl.Hostname()
12}
13