filters

package
v0.0.0-...-5d22fbd Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FloatFilter

type FloatFilter struct {
	Eq  *float64
	NEq *float64
	Gt  *float64
	Gte *float64
	Lt  *float64
	Lte *float64
}

type IntFilter

type IntFilter struct {
	Eq  *int
	NEq *int
	Gt  *int
	Gte *int
	Lt  *int
	Lte *int
}

type Number

type Number interface {
	int | int8 | int16 | int32 | int64 | uint | uint8 | uint16 | uint32 | uint64 | float32 | float64
}

Number is a union type for all number types.

type StringFilter

type StringFilter struct {
	Eq        *string `json:"eq"`
	Contains  *string `json:"contains"`
	Neq       *string `json:"neq"`
	StartWith *string `json:"startWith"`
	EndWith   *string `json:"endWith"`
}

type TimeRange

type TimeRange struct {
	From *time.Time `json:"from"`
	To   *time.Time `json:"to"`
}

Jump to

Keyboard shortcuts

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