writerutil

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2018 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LeveledOutput

type LeveledOutput struct {
	W io.Writer
	// contains filtered or unexported fields
}

LeveledOutput :

func (*LeveledOutput) Indent

func (lw *LeveledOutput) Indent()

Indent :

func (*LeveledOutput) Newline

func (lw *LeveledOutput) Newline() (int, error)

Newline :

func (*LeveledOutput) Printf

func (lw *LeveledOutput) Printf(format string, args ...interface{}) (int, error)

Printf :

func (*LeveledOutput) Println

func (lw *LeveledOutput) Println(s string) (int, error)

Println :

func (*LeveledOutput) UnIndent

func (lw *LeveledOutput) UnIndent()

UnIndent :

func (*LeveledOutput) WithBlock

func (lw *LeveledOutput) WithBlock(prefix string, callback func())

WithBlock :

func (*LeveledOutput) WithIfAndElse

func (lw *LeveledOutput) WithIfAndElse(prefix string, callback func(), callback2 func())

WithIfAndElse :

Jump to

Keyboard shortcuts

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