Documentation
¶
Index ¶
Constants ¶
View Source
const Filler string = "_"
Filler is used to replace spaces in strings.
View Source
const Version string = "1.4.3"
Version is the application's version
Variables ¶
View Source
var Debug = false
Debug defines if the application runs in debug mode.
View Source
var GlobalContext *cli.Context
GlobalContext holds a reference to the application context. It can be used for accessing flags.
Functions ¶
func CheckError ¶
CheckError throws an exception if an error exists. If an error message exists, it is shown.
func StringInArray ¶
StringInArray checks if a string is contained in an array.
func ThrowConfigError ¶
ThrowConfigError prints the error, some information about a Config and exits the application.
func ThrowError ¶
func ThrowError(message string)
ThrowError prints the error information and exits the application.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.