web

package
v0.0.0-...-0efd02e Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AppValidator

type AppValidator struct {
	UniTrans   *ut.UniversalTranslator
	V          *validator.Validate
	Translator ut.Translator
}

AppValidator represents validation struct

func NewAppValidator

func NewAppValidator() (*AppValidator, error)

NewAppValidator will initialize validator with translator

func (*AppValidator) Validate

func (av *AppValidator) Validate(i interface{}) error

Validate serving to be called by Echo to validate url

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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