package
0.0.0-20180815172529-5ecede5950f4
Repository: https://github.com/genesiscommunity/go-genesis.git
Documentation: pkg.go.dev

# Functions

DefLang returns the default language.
GetLang returns the first language from accept-language.
IsLang checks if there is a language with code name.
LangMacro replaces all inclusions of $resname$ in the incoming text with the corresponding language resources, if they exist.
LangText looks for the specified word through language sources and returns the meaning of the source if it is found.
UpdateLang updates language sources for the specified state.

# Variables

LangList is the list of available languages.