out

package
v0.3.7 Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var StdErr io.Writer = os.Stderr

StdErr is the writer for error output. Defaults to os.Stderr

View Source
var StdIn io.Reader = os.Stdin

StdIn is the reader for standard input. Defaults to os.Stdin

View Source
var StdOut io.Writer = os.Stdout

StdOut is the writer for standard output. Defaults to os.Stdout

Functions

func Err

func Err(format string, a ...interface{})

Err prints an error

func Print

func Print(format string, a ...interface{})

Print prints a neutral message

func Scan

func Scan(format string, a ...interface{}) (string, error)

Scan prints a prompt message and scans for user input

func Success

func Success(format string, a ...interface{})

Success prints a success message

func Warn

func Warn(format string, a ...interface{})

Warn prints a warning message

Types

This section is empty.

Jump to

Keyboard shortcuts

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