i18n

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetDecodeValueError

func GetDecodeValueError(r *http.Request, value, codec string) string

func GetPrinter

func GetPrinter(r *http.Request) *message.Printer

GetPrinter ...

func GetTag

func GetTag(r *http.Request) language.Tag

GetTag ...

Types

type Field

type Field string

Field field validate failed

func (Field) Field

func (f Field) Field() string

Field name

func (Field) GetMessage

func (f Field) GetMessage(r *http.Request) string

type FieldError

type FieldError interface {
	Field() string
}

FieldError ...

type Printer

type Printer = message.Printer

Printer ...

type StringError

type StringError string

func (StringError) GetMessage

func (se StringError) GetMessage(r *http.Request) string

Jump to

Keyboard shortcuts

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