Documentation ¶
Index ¶
- func GetFileSize(filePath string) (int, error)
- func PrintErr(formatstr string, a ...interface{})
- func PrintFatal(err error)
- func PrintGreen(formatstr string, a ...interface{})
- func PrintStatus(formatstr string, a ...interface{})
- func PrintSuccess(formatstr string, a ...interface{})
- func PrintWarning(formatstr string, a ...interface{})
- func RandomString(length int) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetFileSize ¶
GetFileSize retrieves the size of the file with given file path
func PrintFatal ¶
func PrintFatal(err error)
func PrintGreen ¶
func PrintGreen(formatstr string, a ...interface{})
func PrintStatus ¶
func PrintStatus(formatstr string, a ...interface{})
func PrintSuccess ¶
func PrintSuccess(formatstr string, a ...interface{})
func PrintWarning ¶
func PrintWarning(formatstr string, a ...interface{})
func RandomString ¶
randomString - generates random string of given length
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.