func urlString(u *url.URL) string {
	if u.Opaque == "" || strings.HasPrefix(u.Opaque, "//") {
		return u.String()
	}
	aux := *u
	aux.Opaque = "//" + aux.Host + aux.Opaque
	return aux.String()
}
func urlString(u *url.URL) string {
	if u.Opaque == "" || strings.HasPrefix(u.Opaque, "
		return u.String()
	}
	aux := *u
	aux.Opaque = "
	return aux.String()
}
func urlString ( u * url . URL ) string { if u . Opaque == " " || strings . HasPrefix ( u . Opaque , " " ) { return u . String ( ) } aux := * u aux . Opaque = " " + aux . Host + aux . Opaque return aux . String ( ) }
// urlString returns a valid string given a URL. This function is necessary because
// the String method of URL doesn't correctly handle URLs with non-empty Opaque values.
// See http://code.google.com/p/go/issues/detail?id=4860.
urlString returns a valid string given a URL . This function is necessary because the String method of URL doesn t correctly handle URLs with non - empty Opaque values . See http : // code . google . com / p / go / issues / detail?id = 4860 .