algernon: github.com/xyproto/algernon/console Index | Files

package console

import "github.com/xyproto/algernon/console"

Package console provides functions for disabling and disabling output

Index

Package Files

console.go

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.