ask

package module
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2019 License: MIT Imports: 3 Imported by: 9

README

ask

Build Status GoDoc License Go Report Card

General info
  • Version: 1.0.0
  • Licence: MIT
  • Author: Alexander F. Rødseth <xyproto@archlinux.org>sk the user a question

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Ask

func Ask(prompt string) string

Ask a question, wait for textual input followed by a newline

func AskYesNo

func AskYesNo(question string, noIsDefault bool) bool

Ask a yes/no question, don't wait for newline

func ReadLn

func ReadLn() string

Read a line from stdin

Types

This section is empty.

Jump to

Keyboard shortcuts

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