rules

package
v2.2.27 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2024 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Exists

type Exists struct {
}

func (*Exists) Message

func (receiver *Exists) Message() string

Message Get the validation error message.

func (*Exists) Passes

func (receiver *Exists) Passes(_ validation.Data, val any, options ...any) bool

Passes Determine if the validation rule passes.

func (*Exists) Signature

func (receiver *Exists) Signature() string

Signature The name of the rule.

type NotExists

type NotExists struct {
}

func (*NotExists) Message

func (receiver *NotExists) Message() string

Message Get the validation error message.

func (*NotExists) Passes

func (receiver *NotExists) Passes(_ validation.Data, val any, options ...any) bool

Passes Determine if the validation rule passes.

func (*NotExists) Signature

func (receiver *NotExists) Signature() string

Signature The name of the rule.

type PathExists

type PathExists struct {
}

func (*PathExists) Message

func (receiver *PathExists) Message() string

Message Get the validation error message.

func (*PathExists) Passes

func (receiver *PathExists) Passes(_ validation.Data, val any, options ...any) bool

Passes Determine if the validation rule passes.

func (*PathExists) Signature

func (receiver *PathExists) Signature() string

Signature The name of the rule.

type PathNotExists

type PathNotExists struct {
}

func (*PathNotExists) Message

func (receiver *PathNotExists) Message() string

Message Get the validation error message.

func (*PathNotExists) Passes

func (receiver *PathNotExists) Passes(_ validation.Data, val any, options ...any) bool

Passes Determine if the validation rule passes.

func (*PathNotExists) Signature

func (receiver *PathNotExists) Signature() string

Signature The name of the rule.

Jump to

Keyboard shortcuts

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