func GetAddressesFromJsonUrl(url string) (details []addressdetail.AddressDetail, err error) {
	resp, err := http.Get(url)
	if err != nil {
		return details, err
	}
	defer resp.Body.Close()
	err = json.NewDecoder(resp.Body).Decode(&details)
	if err != nil {
		return details, err
	}
	return details, nil
}
// var JsonFilenameAddresses string = "addresslookup/json/addresses.json"
var JsonFilenameAddresses string = "addresslookup/json/addresses.json"
// var JsonFilenameAddresses string = " addresslookup / json / addresses . json "
func GetAddressesFromJsonUrl(url string) (details []addressdetail.AddressDetail, err error) {
	resp, err := http.Get(url)
	if err != nil {
		return details, err
	}
	defer resp.Body.Close()
	err = json.NewDecoder(resp.Body).Decode(&details)
	if err != nil {
		return details, err
	}
	return details, nil
}
func GetAddressesFromJsonUrl ( url string ) ( details [ ] addressdetail . AddressDetail , err error ) { resp , err := http . Get ( url ) if err != nil { return details , err } defer resp . Body . Close ( ) err = json . NewDecoder ( resp . Body ) . Decode ( & details ) if err != nil { return details , err } return details , nil }
var JsonFilenameAddresses string = "addresslookup/json/addresses.json"
var JsonFilenameAddresses string = " addresslookup / json / addresses . json "