Help us shape the future of Go! Take the 2026 Go Developer Survey

renderer

package
v0.7.1 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Call added in v0.7.0

type Call = html.Call

Call is a component call on the render stack.

type Diagnostic added in v0.7.0

type Diagnostic = html.Diagnostic

Diagnostic is a part of the output that an error dropped.

type Options added in v0.7.0

type Options = html.Options

Options holds the settings of a single Render call.

type Renderer

type Renderer interface {
	Render(writer io.Writer, root ast.Node, opts Options) ([]Diagnostic, error)
}

func DefaultRenderer

func DefaultRenderer(log logger.Logger) Renderer

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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