validation

package
v1.4.1 Latest Latest
Warning

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

Go to latest
Published: May 26, 2021 License: MIT Imports: 3 Imported by: 0

README

Validation

The validation package is a wrapper over the github.com/go-playground/validator.

Validation package implements Singleton pattern. validation.GetValidator() method returns the same instance of the validator.Validate.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Translator ut.Translator

Functions

func GetValidator

func GetValidator() *validator.Validate

GetValidator returns instance of validator

func New

func New() *validator.Validate

Types

This section is empty.

Jump to

Keyboard shortcuts

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