Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckDebug ¶
func CheckDebug(msg interface{})
CheckDebug prints the debug msg with the prefix 'Debug:'.
func CheckErrFatal ¶
func CheckErrFatal(err interface{})
CheckErrFatal prints the msg with the prefix 'Error:' and exits with error code 1. If the msg is nil, it does nothing.
func CheckErrNonFatal ¶
func CheckErrNonFatal(err interface{})
CheckErrNonFatal prints the msg with the prefix 'Error:' but does not exit the code. If the msg is nil, it does nothing.
func CopyDirectory ¶
CopyDirectory copies content of one directory to another
func CreateFile ¶
CreateFile checks if the file already exists, if not then will create it and set it up
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.