say

package
v1.4.1 Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	DefaultPrefix = color.CyanString("[dops] ")
	InfoPrefix    = color.HiMagentaString("[dops - info] ")
	WarningPrefix = color.YellowString("[dops - warning] ")
	ErrorPrefix   = color.HiRedString("[dops - error] ")
)

Functions

func Error

func Error(text ...interface{})

Error outputs formatted text to the terminal.

func Info

func Info(text ...interface{})

Info outputs formatted text to the terminal.

func Raw added in v1.3.0

func Raw(text ...interface{})

Raw outputs formatted text to the terminal.

func Text

func Text(text ...interface{})

Text outputs formatted text to the terminal.

func Warning

func Warning(text ...interface{})

Warning outputs formatted text to the terminal.

Types

This section is empty.

Directories

Path Synopsis
Modification of https://github.com/fatih/color/blob/master/color.go
Modification of https://github.com/fatih/color/blob/master/color.go

Jump to

Keyboard shortcuts

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