output

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2018 License: Apache-2.0 Imports: 4 Imported by: 4

Documentation

Index

Constants

View Source
const (
	RED         = "\033[0;31m"
	GREEN       = "\033[0;32m"
	LIGHT_GREEN = "\033[1;32m"
	YELLOW      = "\033[1;33m"
	ORANGE      = "\033[0;33m"
	CYAN        = "\033[0;36m"
	BLUE        = "\033[0;34m"
	PURPLE      = "\033[0;35m"
	NC          = "\033[0m" // No Color
)

Variables

This section is empty.

Functions

This section is empty.

Types

type OutWriter

type OutWriter struct {
	Format  string // TODO(nkubala): implement JSON type
	Verbose bool
	Quiet   bool
}

func (*OutWriter) Banner

func (o *OutWriter) Banner(filename string)

func (*OutWriter) Cyan

func (o *OutWriter) Cyan(s string)

func (*OutWriter) Green

func (o *OutWriter) Green(s string)

func (*OutWriter) LightGreen

func (o *OutWriter) LightGreen(s string)

func (*OutWriter) Orange

func (o *OutWriter) Orange(s string)

func (*OutWriter) OutputResults

func (o *OutWriter) OutputResults(fullResults []*types.FullResult) int

func (*OutWriter) Print

func (o *OutWriter) Print(s string)

func (*OutWriter) Printf

func (o *OutWriter) Printf(s string, args ...interface{})

func (*OutWriter) Purple

func (o *OutWriter) Purple(s string)

func (*OutWriter) Red

func (o *OutWriter) Red(s string)

func (*OutWriter) Yellow

func (o *OutWriter) Yellow(s string)

Jump to

Keyboard shortcuts

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