html

package
v0.13.0 Latest Latest
Warning

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

Go to latest
Published: Aug 10, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package html renders claims reports as self-contained HTML pages.

The output is a single standalone document with inline CSS and no external dependencies, so it can be written to a file and opened directly or emailed as an artifact. Claims are grouped by verdict (verified, needs-review, rejected, unverified) with each claim's value, source, reliability tier, and rationale (commentary) shown.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Renderer

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

Renderer renders a claims report as a standalone HTML page.

func New

func New(w io.Writer) *Renderer

New creates a new HTML renderer writing to w.

func (*Renderer) RenderClaims

func (r *Renderer) RenderClaims(report *claims.ClaimsReport) error

RenderClaims writes the claims report as a self-contained HTML document.

Jump to

Keyboard shortcuts

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