func FromProviderHostPorts(nhps network.ProviderHostPorts) []HostPort {
	hps := make([]HostPort, len(nhps))
	for i, nhp := range nhps {
		hps[i] = FromProviderHostPort(nhp)
	}
	return hps
}
// FromProviderHostPorts is a helper to create a parameter
// out of the network type, here for a slice of HostPort.
FromProviderHostPorts is a helper to create a parameter
out of the network type, here for a slice of HostPort.
// FromProviderHostPorts is a helper to create a parameter // out of the network type here for a slice of HostPort .
func FromProviderHostPorts(nhps network.ProviderHostPorts) []HostPort {
	hps := make([]HostPort, len(nhps))
	for i, nhp := range nhps {
		hps[i] = FromProviderHostPort(nhp)
	}
	return hps
}
func FromProviderHostPorts ( nhps network . ProviderHostPorts ) [ ] HostPort { hps := make ( [ ] HostPort , len ( nhps ) ) for i , nhp := range nhps { hps [ i ] = FromProviderHostPort ( nhp ) } return hps }
FromProviderHostPorts is a helper to create a parameter
out of the network type, here for a slice of HostPort.
FromProviderHostPorts is a helper to create a parameter out of the network type here for a slice of HostPort .