console

package
v1.16.0 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2024 License: BSD-3-Clause Imports: 1 Imported by: 0

Documentation

Overview

Package console provides functions for disabling and disabling output

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Output

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

Output is for enabling or disabling output to stdout

func (*Output) Disable

func (o *Output) Disable()

Disable output to stdout. Will close stdout and stderr.

func (*Output) Enable

func (o *Output) Enable()

Enable output to stdout, if stdout has not been closed

Jump to

Keyboard shortcuts

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