input

package
v0.0.0-...-d0bb578 Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2019 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BoolAnswer

func BoolAnswer(question string) bool

BoolAnswer check for (y/n) answer

func Inquire

func Inquire(cfg *config.Config) *config.Config

Inquire for configuration

func OptionAnswer

func OptionAnswer(question string, options ...string) string

OptionAnswer check for string answer

func Prompt

func Prompt()

func StringAnswer

func StringAnswer(question, option string) string

StringAnswer check for string answer

Types

This section is empty.

Jump to

Keyboard shortcuts

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