func (hp ProviderHostPorts) Addresses() ProviderAddresses {
	addrs := make(ProviderAddresses, len(hp))
	for i, hp := range hp {
		addrs[i] = hp.ProviderAddress
	}
	return addrs
}
// Addresses extracts the ProviderAddress from each member of the collection,
// then returns them as a new collection, effectively discarding the port.
Addresses extracts the ProviderAddress from each member of the collection,
then returns them as a new collection, effectively discarding the port.
// Addresses extracts the ProviderAddress from each member of the collection // then returns them as a new collection effectively discarding the port .
func (hp ProviderHostPorts) Addresses() ProviderAddresses {
	addrs := make(ProviderAddresses, len(hp))
	for i, hp := range hp {
		addrs[i] = hp.ProviderAddress
	}
	return addrs
}
func ( hp ProviderHostPorts ) Addresses ( ) ProviderAddresses { addrs := make ( ProviderAddresses , len ( hp ) ) for i , hp := range hp { addrs [ i ] = hp . ProviderAddress } return addrs }
Addresses extracts the ProviderAddress from each member of the collection,
then returns them as a new collection, effectively discarding the port.
Addresses extracts the ProviderAddress from each member of the collection then returns them as a new collection effectively discarding the port .