render

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RenderJSON

func RenderJSON(w io.Writer, result *analyze.AnalysisResult, issues []analyze.ValidationIssue) error

RenderJSON writes the structured JSON output to w.

func RenderMarkdown

func RenderMarkdown(w io.Writer, result *analyze.AnalysisResult, issues []analyze.ValidationIssue) error

RenderMarkdown writes a human-readable Markdown report to w.

Types

type JSONOutput

type JSONOutput struct {
	*analyze.AnalysisResult
	ValidationIssues []analyze.ValidationIssue `json:"validation_issues,omitempty"`
}

JSONOutput wraps the analysis result with validation metadata for JSON output.

Jump to

Keyboard shortcuts

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