report

package
v0.6.7 Latest Latest
Warning

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

Go to latest
Published: Jul 1, 2026 License: AGPL-3.0 Imports: 7 Imported by: 0

Documentation

Overview

Package report renders litescope results as standalone, shareable HTML — a single self-contained file (inline CSS, no assets) that can be attached to a PR, emailed, or committed as a build artifact.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Doctor

func Doctor(w io.Writer, d DoctorData) error

Doctor writes a standalone HTML report for a doctor run to w.

Types

type DoctorData

type DoctorData struct {
	Path     string
	Verdict  string // healthy | attention | critical
	Health   *health.Report
	Advisor  *advisor.Report
	Lint     *lint.Report
	Warnings int
}

DoctorData is the input to the doctor HTML report. It mirrors the fields the CLI already computes so the report package stays decoupled from cobra.

Jump to

Keyboard shortcuts

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