func getAddress(rawURL string) string {
	parsedURL, err := url.Parse(rawURL)
	if err != nil {
		return ""
	}

	splitHost := strings.Split(parsedURL.Host, ":")
	return splitHost[0]
}
func getAddress(rawURL string) string {
	parsedURL, err := url.Parse(rawURL)
	if err != nil {
		return ""
	}

	splitHost := strings.Split(parsedURL.Host, ":")
	return splitHost[0]
}
func getAddress ( rawURL string ) string { parsedURL , err := url . Parse ( rawURL ) if err != nil { return " " } splitHost := strings . Split ( parsedURL . Host , " " ) return splitHost [ 0 ] }
// Get the address given a URL
Get the address given a URL