strutils

package
v0.0.0-...-537e51d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 12, 2020 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CenterString

func CenterString(s string, w, sw int)

func CenterStringR

func CenterStringR(s string, w, sw int) (temp string)

func Clear

func Clear()

Clear clears the screen

func Flush

func Flush()
func Header(col ...func(...interface{}) string)

func LoadingGif

func LoadingGif()

func PanicR

func PanicR(str string)

func QArray

func QArray(question string, choices []string) (answer int)

func QChoiceMultiple

func QChoiceMultiple(question string, choicesPre []string, information ...[]string) (answers []string)

func QChoiceString

func QChoiceString(question string, choices ...string) string

func QCustom

func QCustom(question string, choicesAnswer, choices []string) (answer string)

func QGeneric

func QGeneric(question ...string) string

func QPassword

func QPassword(question string) string

func QYesNo

func QYesNo(question string) bool

func QYesNoNOCLEAR

func QYesNoNOCLEAR(question string) bool

func Wait

func Wait(str ...string)

Wait is a function used to pause the program

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL