readline

package
v0.0.0-...-6b669e2 Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Close

func Close()

Close writes this session's history back and closes the liner Remember to call this function before exiting!

func PromptAndRead

func PromptAndRead(prompt string) (string, error)

PromptAndRead prints `prompt` in the console and reads one line from user Note that '\n' will be removed

Types

This section is empty.

Jump to

Keyboard shortcuts

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