Documentation ¶
Index ¶
- Variables
- func Center(str string, consoleWidth, stringWidth int)
- func Clear()
- func Error(err error, code int, safe bool)
- func ExitWait()
- func Flush()
- func Head()
- func PrintByte(ogSize uint64, attach bool, del ...string) string
- func PrintShortByte(ogSize uint64, attach bool, del ...string) string
- func QyORn(question string) bool
- func VersionCheck()
- func Wait()
Constants ¶
This section is empty.
Variables ¶
View Source
var ( //Red and all others are colors Red func(...interface{}) string //Green and all others are colors Green func(...interface{}) string //Yellow and all others are colors Yellow func(...interface{}) string //Blue and all others are colors Blue func(...interface{}) string //Magenta and all others are colors Magenta func(...interface{}) string //Cyan and all others are colors Cyan func(...interface{}) string //HIRed and all others are colors HIRed func(...interface{}) string //HIGreen and all others are colors HIGreen func(...interface{}) string //HIYellow and all others are colors HIYellow func(...interface{}) string //HIBlue and all others are colors HIBlue func(...interface{}) string //HIMagenta and all others are colors HIMagenta func(...interface{}) string //HICyan and all others are colors HICyan func(...interface{}) string //Bold and all others are colors Bold func(...interface{}) string //Italic and all others are colors Italic func(...interface{}) string //Underline and all others are colors Underline func(...interface{}) string )
View Source
var Changelog string
View Source
var Version string
Version is version...
Functions ¶
func ExitWait ¶
func ExitWait()
ExitWait waits for user to press enter before exiting program after an error or at end of program
func PrintByte ¶
PrintByte prints out nicely a passed filesize:
ogSize - size of item attach - should we attach the "kb" del - if len(del) == 1, whatever is passed ("b","kb"/"k",...,"tb"/"t"), it will size it to that divisor
func VersionCheck ¶
func VersionCheck()
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.