Documentation
¶
Index ¶
Constants ¶
View Source
const UserDenied = "user denied confirmation"
Variables ¶
This section is empty.
Functions ¶
func FAsk ¶
FAsk asks the user for confirmation using the current strategy or the default behavior if no strategy is set.
func SetStrategy ¶ added in v6.7.4
func SetStrategy(strategy Confirmer)
SetStrategy sets the current confirmation strategy.
Types ¶
Click to show internal directories.
Click to hide internal directories.