func ParsePortRange(rawPort string) (int, int, error) {
	if len(rawPort) == 0 {
		return 0, 0, nil
	}
	start, end, err := parsers.ParsePortRange(rawPort)
	if err != nil {
		return 0, 0, err
	}
	return int(start), int(end), nil
}
// ParsePortRange parses the port range string and returns start/end ints
ParsePortRange parses the port range string and returns start/end ints
// ParsePortRange parses the port range string and returns start / end ints
func ParsePortRange(rawPort string) (int, int, error) {
	if len(rawPort) == 0 {
		return 0, 0, nil
	}
	start, end, err := parsers.ParsePortRange(rawPort)
	if err != nil {
		return 0, 0, err
	}
	return int(start), int(end), nil
}
func ParsePortRange ( rawPort string ) ( int , int , error ) { if len ( rawPort ) == 0 { return 0 , 0 , nil } start , end , err := parsers . ParsePortRange ( rawPort ) if err != nil { return 0 , 0 , err } return int ( start ) , int ( end ) , nil }
ParsePortRange parses the port range string and returns start/end ints
ParsePortRange parses the port range string and returns start / end ints