Documentation
¶
Index ¶
- Constants
- func OutLang(l ...any) string
- func Printf(format string, args ...any)
- func Println(args ...any)
- func RegisterWords(entries []DictEntry)
- func SmartArgs(c *fmt.Conv, dest fmt.BuffDest, separator string, allowStringCode bool, ...) *fmt.Conv
- func Translate(values ...any) *fmt.Conv
- type DictEntry
Constants ¶
View Source
const ( // Group 1: Core Essential Languages (Maximum Global Reach) EN lang = iota // 0 - English (default) ES // 1 - Spanish ZH // 2 - Chinese HI // 3 - Hindi AR // 4 - Arabic // Group 2: Extended Reach Languages (Europe & Americas) PT // 5 - Portuguese FR // 6 - French DE // 7 - German RU // 8 - Russian )
Variables ¶
This section is empty.
Functions ¶
func Println ¶
func Println(args ...any)
Println prints arguments to stdout followed by newline (like fmt.Println)
func RegisterWords ¶
func RegisterWords(entries []DictEntry)
RegisterWords adds entries to the lookup engine. Safe to call from init().
Types ¶
Click to show internal directories.
Click to hide internal directories.