Documentation
¶
Index ¶
- Variables
- type Lang
- func (l *Lang) AsyncStart() error
- func (l *Lang) Extend(ext map[string]string)
- func (l *Lang) Get(key string) string
- func (l *Lang) Init() error
- func (l *Lang) Restart() error
- func (l *Lang) Set(language string)
- func (l *Lang) Start() error
- func (l *Lang) Status() (string, error)
- func (l *Lang) Stop() error
- func (l *Lang) Version() string
Constants ¶
This section is empty.
Variables ¶
View Source
var VERSION string = "0.0.1"
Functions ¶
This section is empty.
Types ¶
type Lang ¶
Key format is [AABBBCCCCDDD] where
- AA is language 2-char shortcode (e.g. EN, FR)
- BBB is type 3-char shortcode (e.g. SVC, LIB)
- CCCC is type name 4-char shortcode (e.g. LANG, CORE)
- DDD is phrase unique 3-digit numerical id (e.g. 001, 999)
func (*Lang) AsyncStart ¶
Click to show internal directories.
Click to hide internal directories.