Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Color = []string{
"\u001b[31;1m",
"\u001b[32;1m",
"\u001b[33;1m",
"\u001b[34;1m",
"\u001b[35;1m",
"\u001b[36;1m",
"\u001b[37;1m",
}
View Source
var StatusColor = map[string]string{
"failed": "\u001b[31;1mfailed\u001b[0m",
"success": "\u001b[32;1msuccess\u001b[0m",
"pending": "\u001b[33;1mpending\u001b[0m",
"running": "\u001b[34;1mrunning\u001b[0m",
"skipped": "\u001b[36;1mskipped\u001b[0m",
"created": "\u001b[37;1mcreated\u001b[0m",
"canceled": "\u001b[37;1mcancel\u001b[0m",
"manual": "\u001b[37;1mmanual\u001b[0m",
}
Functions ¶
func Check ¶ added in v0.0.4
func Check(err error)
Check : return the error message if the err is not nil
func ColorStatus ¶ added in v0.2.0
func FileExists ¶ added in v0.1.4
func OpenBrowser ¶ added in v0.0.8
OpenBrowser open the url in web browser
func RandomColor ¶ added in v0.2.0
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.