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.
Click to show internal directories.
Click to hide internal directories.