Documentation
¶
Index ¶
Constants ¶
View Source
const ( RedColor = "\033[31m" BlueColor = "\033[34m" ResetColor = "\033[0m" )
ANSI escape codes for color
Variables ¶
This section is empty.
Functions ¶
func DownloadUrl ¶ added in v0.2.0
downloads a file from a url and places it in a specified destination
func ExpandTilde ¶ added in v0.2.1
Function to expand the tilde (~) to the full home directory path @Example ~/Pictures/flowers.png --> /home/username/Pictures/flowers.png
func FormatErrors ¶ added in v0.1.6
Formats a slice of errors to a single error, each seperated by a new line
func GetFileExtensionFromURL ¶ added in v0.1.7
func HandleError ¶ added in v0.1.6
Prints the error in red and exits
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.