docor

package module
v0.0.0-...-b2a9359 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2014 License: Apache-2.0 Imports: 12 Imported by: 0

README

docor

A simple and stupid one-page offline html doc/report generator using pure Go

Please give me a goddamn demo real quick:

Docor

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Doc

type Doc struct {
	// contains filtered or unexported fields
}

func NewBlankDoc

func NewBlankDoc() *Doc

func (*Doc) AddBlockquote

func (d *Doc) AddBlockquote(quote string)

func (*Doc) AddChartLineXsYs

func (d *Doc) AddChartLineXsYs(xs, ys []float64, w, h int)

func (*Doc) AddCode

func (d *Doc) AddCode(code, lang string)

func (*Doc) AddDetailImgFromURI

func (d *Doc) AddDetailImgFromURI(url string, width int, title, titleColor, description string)

func (*Doc) AddImgFromURI

func (d *Doc) AddImgFromURI(url string, width int)

func (*Doc) AddParagraph

func (d *Doc) AddParagraph(par string)

func (*Doc) AddPre

func (d *Doc) AddPre(content string)

func (*Doc) AddSection

func (d *Doc) AddSection(title string)

func (*Doc) AddSubsection

func (d *Doc) AddSubsection(title string)

func (*Doc) AddTable

func (d *Doc) AddTable(thead []string, tbody [][]string)

func (*Doc) AddTitle

func (d *Doc) AddTitle(title string)

func (*Doc) SaveTo

func (d *Doc) SaveTo(fname string) error

Jump to

Keyboard shortcuts

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