pwizard

package
v0.0.0-...-e9c7b40 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2022 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Stdout = colorable.NewColorableStdout() // add a colorable std out
	Stderr = colorable.NewColorableStderr() // add a colorable std err
)

Functions

func CalculateDurationTime

func CalculateDurationTime(startTimer time.Time) string

CalculateDurationTime func to calculate duration time.

func ExecCommand

func ExecCommand(command string, options []string, silentMode bool) error

ExecCommand function to execute a given command.

func ShowError

func ShowError(text string) error

ShowError function for send error message to output.

func ShowMessage

func ShowMessage(level, text string, startWithNewLine, endWithNewLine bool)

ShowMessage function for showing output messages.

Types

This section is empty.

Jump to

Keyboard shortcuts

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