Documentation ¶
Index ¶
Constants ¶
View Source
const ( ErrorColor = "\x1b[31m" SuccessColor = "\x1b[32m" DefaultColor = "\x1b[0m" TriangleColor = "\x1b[33m" )
Variables ¶
This section is empty.
Functions ¶
func DownloadImage ¶ added in v1.2.1
DownloadImage downloads the image obtained from the net and saves it into a temporary file.
func IsValidUrl ¶ added in v1.2.1
IsValidUrl tests a string to determine if it is a well-structured url or not.
Types ¶
type Spinner ¶
type Spinner struct {
// contains filtered or unexported fields
}
Spinner initializes the process indicator.
func NewSpinner ¶ added in v1.2.1
func NewSpinner() *Spinner
NewSpinner instantiates a new Spinner struct.
Click to show internal directories.
Click to hide internal directories.