utils

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BoldCyan

func BoldCyan(msg string)

Print in in bold cyan font

func ErrorFatal

func ErrorFatal(err error)

Print error in red and then exit with exit status 1 Escape colors work differntly in Windows. Swapping to tabs/spaces.

func FixWindowsColors added in v0.0.4

func FixWindowsColors()

func GetLockFilePaths

func GetLockFilePaths() (paths []string, err error)

Get LockFile Locations

func Green

func Green(msg string)

Print success in green

func Header(msg string)

Print header in bold font

func OnFinish

func OnFinish()

Always catch on finish

func Title

func Title(msg string)

Print Title in bold cyan font

func Warn

func Warn(msg string)

Print log in yellow as warning

Types

This section is empty.

Jump to

Keyboard shortcuts

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