pretty

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Error

func Error(err error) error

Error returns pretty formatted error message.

func Hyperlinks(link, displayedText string) string

Hyperlinks accepts links and texts and construct clickable hyperlinks in terminal. See: https://gist.github.com/egmontkob/eb114294efbcd5adb1944c9f3cb5feda

func Success

func Success(message string) string

Success returns pretty formatted success message.

func Warning

func Warning(message string) string

Warning returns pretty formatted warning message.

Types

This section is empty.

Jump to

Keyboard shortcuts

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