localize

package
v0.0.0-...-96f2668 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FromContext

func FromContext(ctx context.Context) *i18n.Localizer

func I18N

func I18N(opts ...Option) middleware.Middleware

Types

type Option

type Option func(o *options)

func WithDefaultLanguage

func WithDefaultLanguage(language language.Tag) Option

func WithMessagePath

func WithMessagePath(path string) Option

Jump to

Keyboard shortcuts

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