report

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateMarkdown

func GenerateMarkdown(result engine.ScoreResult, target string, delta *int) string

func PrintJSON

func PrintJSON(result engine.ScoreResult)

func PrintReport

func PrintReport(result engine.ScoreResult)

func WriteBadge

func WriteBadge(result engine.ScoreResult, path string) error

func WriteHTML

func WriteHTML(result engine.ScoreResult, target string, path string) error

WriteHTML generates a standalone HTML report file with embedded CSS.

func WriteSARIF

func WriteSARIF(result engine.ScoreResult, path string) error

Types

type Badge

type Badge struct {
	SchemaVersion int    `json:"schemaVersion"`
	Label         string `json:"label"`
	Message       string `json:"message"`
	Color         string `json:"color"`
}

Jump to

Keyboard shortcuts

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