prompt

package
v1.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 19, 2021 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (

	// DateFormat is the format used to validate dates inputs from the user
	DateFormat = "2006/01/02"
)

Functions

func AskAll

func AskAll(what interface{}, target *map[string]string) error

AskAll prompts the user for each property with a 'pretty' tag

func AskConfirmation

func AskConfirmation(what string, defaultChoice bool) (bool, error)

AskConfirmation prompts the user for confirmation

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL