printutil

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Feb 4, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	NoColor bool
)

NoColor allows to disable colors for printed messages, default is false

Functions

func Bold

func Bold(msg string)

Display message in bold without color

func Danger

func Danger(msg string)

Display critical level message

func Info

func Info(msg string)

Display info level message

func Success

func Success(msg string)

Display success message

func Warning

func Warning(msg string)

Display warning level message

Types

This section is empty.

Jump to

Keyboard shortcuts

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