validator

package
v0.0.0-...-d841f61 Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2021 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const InvalidIDChars = "/?.$"

Variables

This section is empty.

Functions

func RegisterTranslations

func RegisterTranslations(v *validator.Validate)

RegisterTranslations defines custom validation error messages.

func TranslateError

func TranslateError(fe validator.FieldError) string

TranslateError returns custom validation error message.

Types

This section is empty.

Jump to

Keyboard shortcuts

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