validators

package
v0.32.1 Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2026 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Validators = map[string]Validator{
	"regex":            Regex,
	"number_compare":   NumberCompare,
	"text_len_compare": TextLenCompare,
}

Functions

func NumberCompare

func NumberCompare(params map[string]any) error

func Regex

func Regex(params map[string]any) error

func TextLenCompare

func TextLenCompare(params map[string]any) error

Types

type Validator

type Validator func(params map[string]any) error

Jump to

Keyboard shortcuts

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