Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var PasswordQuestionTemplate = `` /* 473-byte string literal not displayed */
PasswordQuestionTemplate is a template with color formatting. See Documentation: https://github.com/mgutz/ansi#style-format
Functions ¶
This section is empty.
Types ¶
type Password ¶
type Password struct { survey.Renderer Default string DefaultDisplay string Message string Help string }
Password is like a normal Input but the text shows up as *'s and there is no default. Response type is a string.
password := "" prompt := &survey.Password{ Message: "Please type your password" } survey.AskOne(prompt, &password)
type PasswordTemplateData ¶
Click to show internal directories.
Click to hide internal directories.