translator

package
v0.0.0-...-1c7db09 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

This section is empty.

Types

type Handler

type Handler struct {
	// contains filtered or unexported fields
}

func NewHandler

func NewHandler(
	trans i18n.Translator,
) *Handler

func (*Handler) GetLanguage

func (h *Handler) GetLanguage() echo.HandlerFunc

func (*Handler) GetLanguageOptions

func (h *Handler) GetLanguageOptions() echo.HandlerFunc

Get list language available

type Route

type Route struct {
	// contains filtered or unexported fields
}

func NewRoute

func NewRoute(h *Handler) *Route

func (*Route) RegisterTransRoute

func (r *Route) RegisterTransRoute(e *echo.Group)

Jump to

Keyboard shortcuts

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