formatter

package
v0.0.0-...-6554498 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2019 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Green = color.New(color.FgGreen).SprintFunc()

Green provides coloured output for text given to a string format function.

View Source
var Red = color.New(color.FgRed).SprintFunc()

Red provides coloured output for text given to a string format function.

View Source
var Yellow = color.New(color.FgYellow).SprintFunc()

Yellow provides coloured output for text given to a string format function.

Functions

func Dot

func Dot(results []mapper.Page)

Dot renders our results in dot format for use with graphviz

func Pretty

func Pretty(v interface{})

Pretty cleanly formats a given data structure for easily reading.

func Standard

func Standard(results []mapper.Page, startTime time.Time)

Standard is the default formatted output for the program

Types

This section is empty.

Jump to

Keyboard shortcuts

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