questions

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PrintToTerm

func PrintToTerm(text ...interface{})

func PrintfToTerm

func PrintfToTerm(msg string, format ...interface{})

func PrintlnToTerm

func PrintlnToTerm(text ...interface{})

func Prompt

func Prompt(text, def string) (string, error)

func PromptBool

func PromptBool(text string, def bool) (bool, error)

func PromptFormattedOptions

func PromptFormattedOptions(text string, def int, options ...string) (int, error)

func PromptOptional

func PromptOptional(text, def string) (string, error)

func PromptOptions

func PromptOptions(text string, def int, options ...string) (int, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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