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 can be used for temporarily silencing stdout by redirecting to /dev/null or NUL

func (*Output) Disable Uses

func (o *Output) Disable()

Disable output to stdout

func (*Output) Enable Uses

func (o *Output) Enable()

Enable output to stdout

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