Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckErr ¶
func CheckErr(err error)
CheckErr is a silly wrapper for error checking and panicking
func Levenshtein ¶
Levenshtein calculates the difference between two strings by using the Levenshtein algorithm
func Magenta ¶
Magenta returns a provided string wrapped in escape codes that turns the text to Magenta
func PrintItems ¶
PrintItems prints provided items aligned and separated by a colon
func Underline ¶
Underline returns a provided string wrapped in escape codes that underlines the text
func WriteTextToClipboard ¶
func WriteTextToClipboard(value string)
WriteTextToClipboard sends a given string to the System clipboard. Currently only compatible with macOS
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.