Documentation
¶
Index ¶
- Variables
- func GetAllReverseMap(name string) *hashmap.HashMap[string, string]
- func GetInt64s(locale, name string, defs ...string) []int64
- func GetInts(locale, name string, defs ...string) []int
- func GetLinkedHashMap(locale, name string) *linkedhashmap.LinkedHashMap[string, string]
- func GetReverseMap(locale, name string) *hashmap.HashMap[string, string]
- func GetStrings(locale, name string, defs ...string) []string
- func InitMessages() error
- func ReloadMessages() error
- func ReloadMessagesOnChange(path string, op string) error
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 GetLinkedHashMap ¶
func GetLinkedHashMap(locale, name string) *linkedhashmap.LinkedHashMap[string, string]
func GetStrings ¶
func InitMessages ¶
func InitMessages() error
func ReloadMessages ¶
func ReloadMessages() error
func ReloadMessagesOnChange ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.