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

html

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: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewRenderer

func NewRenderer(log logger.Logger) *renderer

Types

type Call added in v0.7.0

type Call struct {
	Name string
	Kind attrhook.FrameKind
	// Node is the call: a component call, or the parameter reference that
	// renders a component value.
	Node ast.Node
}

Call is a component call on the render stack.

type Diagnostic added in v0.7.0

type Diagnostic struct {
	Title   string
	Message string
	// Node is the dropped node.
	Node ast.Node
	// Calls are the component calls around Node, outermost first.
	Calls []Call
}

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

type Options added in v0.7.0

type Options struct {
	AttributeHook attrhook.AttributeHookFunc
	URLReporter   urlreport.URLReporterFunc
}

Options holds the settings of a single Render call.

Jump to

Keyboard shortcuts

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