Documentation ¶ Index ¶ func Confirm(s string) bool Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Confirm ¶ func Confirm(s string) bool Confirm displays a prompt `s` to the user and returns true if the user confirmed, false if not. If the lower cased, trimmed input is equal to 'y', that is considered to be a confirmation. Any other input value will return false. Types ¶ This section is empty. Source Files ¶ View all Source files confirm.go Click to show internal directories. Click to hide internal directories.