Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AnyEqualComparer ¶
type AnyEqualComparer[T comparable] struct { Values []T }
func NewEqualComparer ¶
func NewEqualComparer[T comparable](values ...T) *AnyEqualComparer[T]
func (AnyEqualComparer[T]) Compare ¶
func (c AnyEqualComparer[T]) Compare(value T) (bool, error)
type Comparer ¶
type Comparer[T comparable] interface { Compare(T) (bool, error) }
Click to show internal directories.
Click to hide internal directories.