func (hps HostPorts) Strings() []string {
	result := make([]string, len(hps))
	for i, addr := range hps {
		result[i] = DialAddress(addr)
	}
	return result
}
// Strings returns the HostPorts as a slice of
// strings suitable for passing to net.Dial.
Strings returns the HostPorts as a slice of
strings suitable for passing to net.Dial.
// Strings returns the HostPorts as a slice of // strings suitable for passing to net . Dial .
func (hps HostPorts) Strings() []string {
	result := make([]string, len(hps))
	for i, addr := range hps {
		result[i] = DialAddress(addr)
	}
	return result
}
func ( hps HostPorts ) Strings ( ) [ ] string { result := make ( [ ] string , len ( hps ) ) for i , addr := range hps { result [ i ] = DialAddress ( addr ) } return result }
Strings returns the HostPorts as a slice of
strings suitable for passing to net.Dial.
Strings returns the HostPorts as a slice of strings suitable for passing to net . Dial .