validator

package
v0.0.0-...-8a398ea Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2024 License: AGPL-3.0 Imports: 5 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