renderers

package
v0.0.9 Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var TemplatesFuncMap = template.FuncMap{
	"urlfragment": urlfragment,
	"indent":      indent,
	"repeat":      repeat,
	"multiply":    func(x, y int) int { return x * y },
	"getIndent":   GetIndent,
	"newline":     newLine,
}

Functions

func GetIndent

func GetIndent(level int) int

Types

type Renderer

type Renderer interface {
	Render(*entities.Doc) error
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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