Documentation
¶
Index ¶
- Variables
- func BuildConfigSet(config *xconfig.XConfig) xcore.XDataset
- func BuildMessages(data map[language.Tag]map[string]string) *map[language.Tag]*xcore.XLanguage
- func CreateKey(length int, chartype int) string
- func GetMD5Hash(text string) string
- func Message(messages *map[language.Tag]*xcore.XLanguage, id string, params ...interface{}) string
- func UUID() string
Constants ¶
This section is empty.
Variables ¶
View Source
var Language language.Tag = language.English
Language is the default system language to search messages in this language in priority It may be changed by the code at anytime. Recommended to change it to your language when you init your libraries
Functions ¶
func BuildMessages ¶
func CreateKey ¶
Creates a string of random chars and digits of length
chartype = -1: lowers, uppers and digits chartype = 0: only digits chartype = 1 only uppers chartype = 2 only lowers
func GetMD5Hash ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.
