xtxts

package
v1.2.13 Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2026 License: MIT Imports: 13 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Dir string  // current local messages folder
	FSs []fs.FS // internal embedded message file systems
)

Functions

func GetAllReverseMap

func GetAllReverseMap(name string) *hashmap.HashMap[string, string]

func GetInt64s

func GetInt64s(locale, name string, defs ...string) []int64

func GetInts

func GetInts(locale, name string, defs ...string) []int

func GetLinkedHashMap

func GetLinkedHashMap(locale, name string) *linkedhashmap.LinkedHashMap[string, string]

func GetReverseMap

func GetReverseMap(locale, name string) *hashmap.HashMap[string, string]

func GetStrings

func GetStrings(locale, name string, defs ...string) []string

func InitMessages

func InitMessages() error

func ReloadMessages

func ReloadMessages() error

func ReloadMessagesOnChange

func ReloadMessagesOnChange(path string, op string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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