messages

package
v1.5.1 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2020 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AwaitingInput

func AwaitingInput(mode string) string

AwaitingInput returns an informational message

func CurrentMode

func CurrentMode(mode string) string

CurrentMode returns the current mode

func Error

func Error(text string, err error) string

Error returns a properly formatted line of error-focused text

func Goodbye

func Goodbye() string

Goodbye returns a properly formatted goodbye

func Happy

func Happy(text string) string

Happy returns a properly formatted line of disappointed text

func Help

func Help(text string) string

Help returns a properly formatted line of help text

func Info

func Info(text string) string

Info returns a properly formatted line of info-focused text

func LinkTextNew

func LinkTextNew(text string) string

LinkTextNew returns a properly formatted link

func LinkTextOld

func LinkTextOld(text string) string

LinkTextOld returns a properly formatted link

func ModeShift

func ModeShift(mode string) string

ModeShift returns the mode shifted to

func Sad

func Sad(text string) string

Sad returns a properly formatted line of disappointed text

func Welcome

func Welcome(version string) string

Welcome returns a properly formatted greeting

Types

This section is empty.

Jump to

Keyboard shortcuts

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