rule

package
v0.0.0-...-d625e3b Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2025 License: AGPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Rule

type Rule interface {
	Validate(field string, value string) (bool, string)
	WithMessage(message string) Rule
}

func Email

func Email() Rule

func Gte

func Gte(min int) Rule

func Max

func Max(max int) Rule

func Min

func Min(min int) Rule

func Numeric

func Numeric() Rule

func Required

func Required() Rule

Jump to

Keyboard shortcuts

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