validator

package
Version: v0.0.0-...-b567e3a Latest Latest
Warning

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

Go to latest
Published: Sep 23, 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.

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL