console

package
v0.0.0-...-df88997 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2023 License: BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Cleanup

func Cleanup()

Types

type Console

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

func New

func New() *Console

func (*Console) Choice

func (c *Console) Choice(msg string, options string) rune

func (*Console) Fatal

func (c *Console) Fatal(msg string)

func (*Console) Progress

func (c *Console) Progress(msg string)

Progress outputs max. 1 message per second. If waiting on input, output will be skipped

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳