Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CompareComparable ¶
func CompareComparable[T comparable]() func(t1, t2 T) bool
CompareComparable returns a compare function to compare two comparable types.
func CompareEqualVT ¶
CompareEqualVT returns a compare function to compare two VTProtobuf messages.
Types ¶
type EqualVT ¶
type EqualVT[T comparable] interface { comparable // EqualVT compares against the other message for equality. EqualVT(other T) bool }
EqualVT is a message with a EqualVT function (VTProtobuf).
Click to show internal directories.
Click to hide internal directories.