display

package
v0.1.9 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 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(err error, msgs ...string)

Error handles and displays an error message along with optional additional messages.

func ErrorMsg

func ErrorMsg(msgs ...string)

ErrorMsg displays one or more error messages using a predefined style for enhanced visibility.

func FatalErr

func FatalErr(err error, msgs ...string)

FatalErr handles and displays an error message along with optional additional messages, 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)

Types

This section is empty.

Jump to

Keyboard shortcuts

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