Documentation
¶
Index ¶
- type And
- type EqualEvaluator
- type Equatable
- type Evaluator
- type GreaterEvaluator
- type GreaterOrEqualEvaluator
- type LessEvaluator
- type LessOrEqualEvaluator
- type NotEvaluator
- type Operator
- func Equal[T any](value T) Operator[T]
- func Greater[T cmp.Ordered](value T) Operator[T]
- func GreaterOrEqual[T cmp.Ordered](value T) Operator[T]
- func In[T any](values ...T) Operator[T]
- func Less[T cmp.Ordered](value T) Operator[T]
- func LessOrEqual[T cmp.Ordered](value T) Operator[T]
- func Not[T any](operator Operator[T]) Operator[T]
- type Or
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EqualEvaluator ¶
type EqualEvaluator[T any] struct { // contains filtered or unexported fields }
func (*EqualEvaluator[T]) Evaluate ¶
func (evaluator *EqualEvaluator[T]) Evaluate(other T) bool
func (*EqualEvaluator[T]) String ¶
func (evaluator *EqualEvaluator[T]) String() string
type GreaterEvaluator ¶
func (*GreaterEvaluator[T]) Evaluate ¶
func (evaluator *GreaterEvaluator[T]) Evaluate(other T) bool
func (*GreaterEvaluator[T]) String ¶
func (evaluator *GreaterEvaluator[T]) String() string
type GreaterOrEqualEvaluator ¶
func (*GreaterOrEqualEvaluator[T]) Evaluate ¶
func (evaluator *GreaterOrEqualEvaluator[T]) Evaluate(other T) bool
func (*GreaterOrEqualEvaluator[T]) String ¶
func (evaluator *GreaterOrEqualEvaluator[T]) String() string
type LessEvaluator ¶
func (*LessEvaluator[T]) Evaluate ¶
func (evaluator *LessEvaluator[T]) Evaluate(other T) bool
func (*LessEvaluator[T]) String ¶
func (evaluator *LessEvaluator[T]) String() string
type LessOrEqualEvaluator ¶
func (*LessOrEqualEvaluator[T]) Evaluate ¶
func (evaluator *LessOrEqualEvaluator[T]) Evaluate(other T) bool
func (*LessOrEqualEvaluator[T]) String ¶
func (evaluator *LessOrEqualEvaluator[T]) String() string
type NotEvaluator ¶
type NotEvaluator[T any] struct { // contains filtered or unexported fields }
func (*NotEvaluator[T]) Evaluate ¶
func (evaluator *NotEvaluator[T]) Evaluate(other T) bool
func (*NotEvaluator[T]) String ¶
func (evaluator *NotEvaluator[T]) String() string
Click to show internal directories.
Click to hide internal directories.