Documentation ¶
Index ¶
- Constants
- func GetColorType(colId uint8) colorType
- func PadCenter(str string, len int, pad string) string
- func PadLeft(str string, len int, pad string) string
- func PadRight(str string, len int, pad string) string
- func PrintTab(tablLevel int, format string, args ...interface{})
- func PrintTabf(tablLevel int, format string, args ...interface{})
- func PromptBool(text string) (bool, error)
- func PromptInt(text string) (int64, error)
- func PromptPassword(text string) (string, error)
- func PromptString(text string) (string, error)
- func PromptUrl(text string) (*url.URL, error)
- func SetColor(col colorType, value ...int)
Constants ¶
View Source
const ( ColorPrint colorType = iota ColorPrompt )
View Source
const ( ErrorParamEmpty liberr.CodeError = iota + liberr.MinPkgConsole ErrorColorIOFprintf ErrorColorBufWrite ErrorColorBufUndefined )
Variables ¶
This section is empty.
Functions ¶
func GetColorType ¶
func GetColorType(colId uint8) colorType
func PromptBool ¶
func PromptPassword ¶
func PromptString ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.