htmlreport

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2026 License: MIT Imports: 29 Imported by: 0

Documentation

Overview

Package htmlreport renders analysis results as a single self-contained HTML page: inline SVG charts, style and script, no external resource. The page reads fully without script; the script adds tooltips with exact values, zoom, legend toggles, sortable tables and copy buttons.

Each report kind has its page (RenderAnalysis, RenderComparison, RenderLadder, RenderRun); the charts come from package svg, and the findings from package findings, which this package only words.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RenderAnalysis

func RenderAnalysis(
	w io.Writer,
	r *analysis.Report,
) error

RenderAnalysis writes the HTML report of a technical analysis.

func RenderComparison

func RenderComparison(
	w io.Writer,
	c *analysis.Comparison,
) error

RenderComparison writes the HTML report of a quality comparison.

func RenderLadder

func RenderLadder(
	w io.Writer,
	r *ladder.Result,
) error

RenderLadder writes the HTML report of a ladder.

func RenderRun

func RenderRun(
	w io.Writer,
	r *pipeline.Report,
) error

RenderRun writes the HTML report of a pipeline run: every result on one page.

Types

This section is empty.

Directories

Path Synopsis
Package svg draws the charts of the HTML reports: a static SVG readable without script, a legend, and the chart's data at full resolution for the page script, which adds tooltips, zoom and legend toggles.
Package svg draws the charts of the HTML reports: a static SVG readable without script, a legend, and the chart's data at full resolution for the page script, which adds tooltips, zoom and legend toggles.

Jump to

Keyboard shortcuts

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