prompt

package
Version: v4.2.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Jan 1, 2018 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Methods = map[string]PromptFunc{
	"terminal": TerminalPrompt,
}

Functions

func Available

func Available() []string

func TerminalPrompt

func TerminalPrompt(prompt string) (string, error)

Types

type PromptFunc

type PromptFunc func(string) (string, error)

func Method

func Method(s string) PromptFunc

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL