prompt

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2015 License: BSD-2-Clause Imports: 4 Imported by: 0

Documentation

Overview

Package prompt is a simple message and response functions. It is used by ws.go when the generate config option is chosen.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Question

func Question(msg string, defaultResponse string) string

Question displays a message and prompt for a String response.

func YesNo

func YesNo(msg string) bool

YesNo displays a message and return true for y, Y and return false for n, N.

Types

This section is empty.

Jump to

Keyboard shortcuts

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