func SplitProtoPort(rawPort string) (string, string) {
	parts := strings.Split(rawPort, "/")
	l := len(parts)
	if len(rawPort) == 0 || l == 0 || len(parts[0]) == 0 {
		return "", ""
	}
	if l == 1 {
		return "tcp", rawPort
	}
	if len(parts[1]) == 0 {
		return "tcp", parts[0]
	}
	return parts[1], parts[0]
}
// SplitProtoPort splits a port in the format of proto/port
SplitProtoPort splits a port in the format of proto/port
// SplitProtoPort splits a port in the format of proto / port
func SplitProtoPort(rawPort string) (string, string) {
	parts := strings.Split(rawPort, "/")
	l := len(parts)
	if len(rawPort) == 0 || l == 0 || len(parts[0]) == 0 {
		return "", ""
	}
	if l == 1 {
		return "tcp", rawPort
	}
	if len(parts[1]) == 0 {
		return "tcp", parts[0]
	}
	return parts[1], parts[0]
}
func SplitProtoPort ( rawPort string ) ( string , string ) { parts := strings . Split ( rawPort , " " ) l := len ( parts ) if len ( rawPort ) == 0 || l == 0 || len ( parts [ 0 ] ) == 0 { return " " , " " } if l == 1 { return " " , rawPort } if len ( parts [ 1 ] ) == 0 { return " " , parts [ 0 ] } return parts [ 1 ] , parts [ 0 ] }
SplitProtoPort splits a port in the format of proto/port
SplitProtoPort splits a port in the format of proto / port