validation

package
v0.0.0-...-47ace37 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2018 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Validator *validator.Validate

Validator is a singleton instance providing validation functionalities

Functions

func Errors

func Errors(err error) string

Errors translates and returns all the error messages by namespace

Notice this means that when multiple errors exists only the last one will be selected. Order between different namespaces is not guaranteed.

Types

This section is empty.

Jump to

Keyboard shortcuts

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