common

package
v0.0.0-...-318a3d5 Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IUserInput

type IUserInput interface {
	AskBool(question string, opts *UserInputOptions) bool
}

type UserInput

type UserInput struct {
	Writer io.Writer
	Reader *bufio.Reader
}

func NewUserInput

func NewUserInput() *UserInput

func (*UserInput) AskBool

func (ui *UserInput) AskBool(question string, opts *UserInputOptions) bool

type UserInputOptions

type UserInputOptions struct {
	AssumeYes bool
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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