Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Version = "unknown"
Version contains the version of LURE. If the version isn't known, it'll be set to "unknown"
Functions ¶
func Config ¶
Config returns a LURE configuration struct. The first time it's called, it'll load the config from a file. Subsequent calls will just return the same value.
func Language ¶
Language returns the system language. The first time it's called, it'll detect the langauge based on the $LANG environment variable. Subsequent calls will just return the same value.
func SystemLang ¶
func SystemLang() string
SystemLang returns the system language based on the $LANG environment variable.
Types ¶
Click to show internal directories.
Click to hide internal directories.