validation

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2023 License: MIT Imports: 10 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Language added in v0.0.2

type Language string
const (
	English Language = "en"
	Spanish Language = "es"
)

func (Language) IsSupported added in v0.0.2

func (l Language) IsSupported() bool

type Translator added in v0.0.2

type Translator struct {
	Bundle *i18n.Bundle
}

func NewTranslator added in v0.0.2

func NewTranslator() *Translator

func (*Translator) ValidateSchema added in v0.0.2

func (t *Translator) ValidateSchema(lang string, data interface{}) error

Jump to

Keyboard shortcuts

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