func (t *TransportPort) Equal(o *TransportPort) bool {
	if t == o {
		return true
	}
	if o == nil {
		return false
	}
	if t.Proto != o.Proto || t.Port != o.Port {
		return false
	}
	return true
}
Equal checks if this instance of Transportport is equal to the passed one
package types
import (
	"bytes"
	"fmt"
	"net"
	"strconv"
	"strings"
)
type UUID string
type TransportPort struct {
	Proto Protocol
	Port  uint16
}