Documentation
¶
Overview ¶
Package print have methods to print various eclectica info in style
Index ¶
- Variables
- func ClosestLangWarning(language, closest string)
- func CurrentVersion(version string)
- func Download(response *grab.Response, version string) string
- func Error(err error)
- func FnInStyleln(name, entity string)
- func Green(msg string)
- func InStyle(name, entity string)
- func InStyleln(name, entity string)
- func LastPrint()
- func Version(args ...interface{})
- func Warning(note, command string)
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Gray color Gray = ansi.ColorCode("240") // White color White = ansi.ColorCode("white+b") // Reset ASCII-sequence Reset = ansi.ColorCode("reset") // Timeout for anything general Timeout = 200 * time.Millisecond )
Functions ¶
func ClosestLangWarning ¶
func ClosestLangWarning(language, closest string)
ClosestLangWarning prints error message for the similar typed language
func CurrentVersion ¶
func CurrentVersion(version string)
CurrentVersion prints version with the heart symbol in style
func FnInStyleln ¶
func FnInStyleln(name, entity string)
FnInStyleln prints header and text with style and newline char before and after
func InStyleln ¶
func InStyleln(name, entity string)
InStyleln prints header and text with style and newline char
Types ¶
This section is empty.
Directories
¶
| Path | Synopsis |
|---|---|
|
Package CustomSpinner provides spinner with additional custom logic
|
Package CustomSpinner provides spinner with additional custom logic |
|
Package spinner provides essential (empty) spinner
|
Package spinner provides essential (empty) spinner |
Click to show internal directories.
Click to hide internal directories.