scanner

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2021 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Scanner

type Scanner struct {
	// contains filtered or unexported fields
}

func New

func New() *Scanner

func (*Scanner) PromptLine

func (s *Scanner) PromptLine(prompt string, defaultValue string) string

func (*Scanner) PromptMultiline

func (s *Scanner) PromptMultiline(prompt string, defaultValue []string) []string

func (*Scanner) PromptYesNo

func (s *Scanner) PromptYesNo(prompt string, defaultValue bool) bool

Jump to

Keyboard shortcuts

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