comparators

package
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 29, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TimeFieldComparator

type TimeFieldComparator struct {
	Cmp    where.ComparatorType
	Getter *fields.TimeGetter
	Value  []time.Time
}

func (TimeFieldComparator) Compare

func (fc TimeFieldComparator) Compare(item interface{}) (bool, error)

func (TimeFieldComparator) CompareValue

func (fc TimeFieldComparator) CompareValue(value time.Time) (bool, error)

func (TimeFieldComparator) GetField

func (fc TimeFieldComparator) GetField() string

func (TimeFieldComparator) GetType

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL