html

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2026 License: MIT Imports: 9 Imported by: 0

Documentation

Overview

Package html renders a model.Report into a fully self-contained HTML page.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Options

type Options struct {
	CovReportURL  string // cross-link to coverage page
	Delta         *delta.Delta
	BaselineLabel string
}

Options controls optional rendering features.

type Renderer

type Renderer struct{}

Renderer produces a self-contained HTML report from a model.Report.

func (Renderer) Name

func (Renderer) Name() string

Name returns the renderer identifier.

func (Renderer) Render

func (Renderer) Render(w io.Writer, rep *model.Report, opts Options) error

Render writes a fully self-contained HTML page to w.

Jump to

Keyboard shortcuts

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