Documentation ¶
Index ¶
- Constants
- Variables
- func CheckErr(msg interface{})
- func ColorEscape(color int) string
- func Colorize(msg string, color int) string
- func CreateIfMatchingPrompt(password []rune, firstPassword string) string
- func CreateStrengthPrompt(password []rune) string
- func GetFirstPassword() (string, error)
- func GetLoginToken() (*string, *string)
- func GetRetypePassword(firstPassword string) (string, error)
Constants ¶
View Source
const ( Cyan = 36 Green = 32 Magenta = 35 Red = 31 Yellow = 33 BackgroundRed = 41 )
Variables ¶
View Source
var ColorResetEscape = "\033[0m"
Reset sequence
Functions ¶
func ColorEscape ¶
ColorResetEscape translates a ANSI color number to a color escape.
func CreateIfMatchingPrompt ¶
func CreateStrengthPrompt ¶
func GetFirstPassword ¶
func GetRetypePassword ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.