validation

package
v0.0.0-...-43994ab Latest Latest
Warning

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

Go to latest
Published: May 21, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Validation

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

Validation валидация

func New

func New() *Validation

New инициализация валидации

func (*Validation) Validate

func (v *Validation) Validate(s interface{}) error

Validate реализация валидации входных данных

type Validator

type Validator interface {
	// Validate валидация входных данных
	Validate(i interface{}) error
}

Validator интерфейс для валидации данных

Jump to

Keyboard shortcuts

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