validator

package
v3.4.25 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2023 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Validator

type Validator struct {
	*model.ModValidator

	Expression gval.Evaluable
	// contains filtered or unexported fields
}

func New

func New(m *model.ModValidator) (v *Validator, err error)

New 新建

func (*Validator) Validate added in v3.4.3

func (v *Validator) Validate(values map[string]any) bool

Jump to

Keyboard shortcuts

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