input

package
v0.6.6 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2018 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Bool

func Bool(m string) bool

Bool works confirmation on input accepts 'y' or 'n' and returns bool. If input is 'y', returns true, otherwise returns false.

func Choice

func Choice(m string, exacts []string) string

Choice displays selection on supplied list.

func String

func String(m string) string

String() works as string input and returns its value.

Types

This section is empty.

Jump to

Keyboard shortcuts

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