package validation

import "git.dotya.ml/mirre-mt/pcmt/modules/validation"

Index

Types

type Validator

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

Validator defines a validator that can be used with the echo framework.

func New

func New() *Validator

New provides a new instance of type Validator, initialised with the default validator.

func (*Validator) Validate

func (v *Validator) Validate(a any) error

Validate implements echo framework's Validator interface.

Source Files

validator.go

Version
v0.0.0-20230910121657-4d10510f5ba4 (latest)
Published
Sep 10, 2023
Platform
linux/amd64
Imports
3 packages
Last checked
1 month ago

Tools for package owners.