console

package
v1.14.0 Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Errorf = func(format string, a ...any) {
	_, err := fmt.Fprintf(os.Stderr, format, a...)
	if err != nil {
		panic(err)
	}
}

Errorf defines an (overridable) function for printing to the console via stderr.

View Source
var Printf = func(format string, a ...any) {
	fmt.Printf(format, a...)
}

Printf defines an (overridable) function for printing to the console via stdout.

Functions

func Println

func Println(values ...any)

Println prints a line with optional values to the console.

Types

This section is empty.

Jump to

Keyboard shortcuts

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