algernon: Index | Files

package console

import ""

Package console provides functions for disabling and disabling output


Package Files


type Output Uses

type Output struct {
    // contains filtered or unexported fields

Output is for enabling or disabling output to stdout

func (*Output) Disable Uses

func (o *Output) Disable()

Disable output to stdout. Will close stdout and stderr.

func (*Output) Enable Uses

func (o *Output) Enable()

Enable output to stdout, if stdout has not been closed

Package console imports 1 packages (graph) and is imported by 1 packages. Updated 2018-10-21. Refresh now. Tools for package owners.