display

package
v0.1.9-1 Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Error

func Error(args interface{})

Error handles and displays an error message. It formats the error message using the provided arguments.

func Errorf

func Errorf(format string, args ...interface{})

Errorf formats and displays an error message using the provided format string and arguments.

func Fatal

func Fatal(args interface{})

Fatal handles and displays a fatal error message. It then exits the program with a status code of 1.

func Fatalf

func Fatalf(format string, args ...interface{})

Fatalf formats and displays a fatal error message using the provided format string and arguments. It then exits the program with a status code of 1.

func Info

func Info(text string)

Info prints an informational message with the defined style.

func Infof

func Infof(format string, a ...interface{})

Infof formats and prints an informational message with the defined style.

func Success

func Success(text string)

Success prints the given text with a success style.

func Successf

func Successf(format string, args ...interface{})

Successf prints the formatted string with a success style.

Types

This section is empty.

Jump to

Keyboard shortcuts

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