Documentation ¶ Index ¶ func HasherPtrEqual[T hasher.Hasher](a, b *T) bool func PtrEqual[T Equaler[T]](a, b *T) bool type Equaler Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func HasherPtrEqual ¶ func HasherPtrEqual[T hasher.Hasher](a, b *T) bool func PtrEqual ¶ func PtrEqual[T Equaler[T]](a, b *T) bool Types ¶ type Equaler ¶ type Equaler[T any] interface { Equal(other T) bool } Equaler is an interface that can be used to compare two objects. This is already present in models, but we need it here so that we can avoid a circular dependency. Source Files ¶ View all Source files equal.go Click to show internal directories. Click to hide internal directories.