output

package
v1.5.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 15, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Debug

func Debug(format string, a ...any)

Debug prints a debug message.

Used to print information messages useful for debugging the launcher.

func Error

func Error(format string, a ...any)

Error prints an error message.

Indicates a fatal error.

func Info

func Info(format string, a ...any)

Info prints an general informational message.

func SetLang

func SetLang(tag language.Tag)

SetLang changes the language to the specified language, if translations for it exist.

func Success

func Success(format string, a ...any)

Success prints a success information message.

Indicates a command or task has successfully completed.

func Tip

func Tip(format string, a ...any)

Tip prints a tip message.

Indicates an action that should be performed.

func Translate

func Translate(key string) string

Translate takes a translation string and looks up its human-readable text. If not available, it returns the same translation string.

func Translations

func Translations() map[string]string

Translations returns the map of output translations for the current language.

func Warning

func Warning(format string, a ...any)

Warning prints a cautionary message.

Indicates that there may be an issue.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL