validation

package
v0.20.0 Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2024 License: GPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Validate added in v0.5.1

type Validate struct {
	// contains filtered or unexported fields
}

Validate ...

func NewValidate added in v0.5.1

func NewValidate(lc fx.Lifecycle,
	config *m.AppConfig) (v *Validate)

NewValidate ...

func (*Validate) Start added in v0.5.2

func (v *Validate) Start(_ context.Context) (err error)

Start ...

func (*Validate) Valid added in v0.5.1

func (v *Validate) Valid(s interface{}) (ok bool, errs validator.ValidationErrorsTranslations)

Valid ...

func (*Validate) ValidVar added in v0.5.1

func (v *Validate) ValidVar(s interface{}, key, tag string) (ok bool, errs validator.ValidationErrorsTranslations)

ValidVar ...

Jump to

Keyboard shortcuts

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