output

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2021 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Console

type Console struct {
}

Console is helper for print messages in color

func NewConsoleOutput

func NewConsoleOutput() *Console

NewConsoleOutput returns the new instance

func (*Console) PrintError

func (r *Console) PrintError(message string)

PrintError shows error in red color

func (*Console) PrintInfo

func (r *Console) PrintInfo(message string)

PrintInfo shows info message in blue color

func (*Console) PrintSuccess

func (r *Console) PrintSuccess(message string)

PrintSuccess shows success message in green color

func (*Console) PrintWarning

func (r *Console) PrintWarning(message string)

PrintWarning shows warning message in orange color

Jump to

Keyboard shortcuts

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