func FromHostsPorts(nhpm []network.HostPorts) [][]HostPort {
	hpm := make([][]HostPort, len(nhpm))
	for i, nhps := range nhpm {
		hpm[i] = FromHostPorts(nhps)
	}
	return hpm
}
// FromHostsPorts is a helper to create a parameter
// out of the network type, here for a nested slice of HostPort.
FromHostsPorts is a helper to create a parameter
out of the network type, here for a nested slice of HostPort.
// FromHostsPorts is a helper to create a parameter // out of the network type here for a nested slice of HostPort .
func FromHostsPorts(nhpm []network.HostPorts) [][]HostPort {
	hpm := make([][]HostPort, len(nhpm))
	for i, nhps := range nhpm {
		hpm[i] = FromHostPorts(nhps)
	}
	return hpm
}
func FromHostsPorts ( nhpm [ ] network . HostPorts ) [ ] [ ] HostPort { hpm := make ( [ ] [ ] HostPort , len ( nhpm ) ) for i , nhps := range nhpm { hpm [ i ] = FromHostPorts ( nhps ) } return hpm }
FromHostsPorts is a helper to create a parameter
out of the network type, here for a nested slice of HostPort.
FromHostsPorts is a helper to create a parameter out of the network type here for a nested slice of HostPort .