output

package
v0.0.0-...-8c7e409 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2015 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CleanLen

func CleanLen(word string) int

func CloseWriter

func CloseWriter()

func ColorPrint

func ColorPrint(col ColorValue, level int, val ...interface{})

func InitWriter

func InitWriter()

func PrintInLine

func PrintInLine(val ...interface{})

func PrintRules

func PrintRules(rules []models.Rule)

func PrintSectionTitle

func PrintSectionTitle(text ...string)

func PrintString

func PrintString(level int, val ...interface{})

Types

type Paragraph

type Paragraph struct {
	// contains filtered or unexported fields
}
var Par Paragraph

func (*Paragraph) Init

func (p *Paragraph) Init()

func (*Paragraph) Send

func (p *Paragraph) Send(level int, col ColorValue, vars ...interface{})

func (*Paragraph) SendPair

func (p *Paragraph) SendPair(level int, col ColorValue, vars ...interface{})

func (*Paragraph) Write

func (p *Paragraph) Write()

type ParamString

type ParamString struct {
	Words  []string
	Indent int
	// contains filtered or unexported fields
}

func (*ParamString) AddWord

func (s *ParamString) AddWord(word string)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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