Documentation ¶
Index ¶
Constants ¶
View Source
const ( OpEquals = "equals" OpLessOrEquals = "lessEqual" OpGreaterOrEqual = "greaterEqual" OpGreater = "greater" OpLess = "less" )
Variables ¶
This section is empty.
Functions ¶
func CheckValue ¶ added in v1.2.174
func CheckValue(r IOperationMethod[int64], val int64) bool
Types ¶
type Float64Range ¶
type IOperationMethod ¶ added in v1.2.174
type Int64Method ¶ added in v1.2.174
type Int64Method struct { Method string `json:"method,optional"` Value int64 `json:"value,optional"` }
func (*Int64Method) Check ¶ added in v1.2.174
func (r *Int64Method) Check(val int64) bool
func (*Int64Method) GetMethod ¶ added in v1.2.174
func (r *Int64Method) GetMethod() string
func (*Int64Method) GetValue ¶ added in v1.2.174
func (r *Int64Method) GetValue() int64
type Int64Range ¶
type NumberRange ¶
type NumberRange[T any] struct { Min *T `json:"min,optional"` Max *T `json:"max,optional"` }
Click to show internal directories.
Click to hide internal directories.