output

package
v0.29.0 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2018 License: BSD-2-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Verbose = false

Functions

func Info

func Info(format string, args ...interface{})

func Require

func Require(predicate bool, message string, args ...interface{})

Types

type OsLike

type OsLike interface {
	Create(name string) (io.WriteCloser, error)
	MkdirAll(path string, perm os.FileMode) error
}
var Os OsLike = stdOs(0)

type Output

type Output struct {
	Dirs, Name string
}

func NewOutput

func NewOutput(path string) Output

func (Output) Path

func (o Output) Path() string

func (Output) Pkg

func (o Output) Pkg() string

func (Output) Write

func (o Output) Write(content io.Reader, out io.Writer)

Jump to

Keyboard shortcuts

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