Documentation
¶
Index ¶
- func Debug(format string, a ...any)
- func Error(format string, a ...any)
- func Info(format string, a ...any)
- func SetLang(tag language.Tag)
- func Success(format string, a ...any)
- func Tip(format string, a ...any)
- func Tips(err error)
- func Translate(key string) string
- func Translations() map[string]string
- func Warning(format string, a ...any)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Debug ¶
Debug prints a debug message.
Used to print information messages useful for debugging the launcher.
func SetLang ¶ added in v1.4.0
SetLang changes the language to the specified language, if translations for it exist.
func Success ¶
Success prints a success information message.
Indicates a command or task has successfully completed.
func Translate ¶
Translate takes a translation string and looks up its human-readable text. If not available, it returns the same translation string.
func Translations ¶
Translations returns the map of output translations for the current language.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.