lang

package
v0.0.0-...-58cf05c Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2024 License: MIT Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Lang

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

func New

func New(path string, locale string) Lang

func (Lang) GetMessage

func (l Lang) GetMessage(ID string, TemplateData map[string]interface{}) (string, error)

func (Lang) GetMessageByLocalize

func (l Lang) GetMessageByLocalize(localizer *i18n.Localizer, ID string, TemplateData map[string]interface{}) (string, error)

Jump to

Keyboard shortcuts

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