formats

package
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2025 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WriteHTMLReport

func WriteHTMLReport(issues []report.Issue, outPath string, gitMeta *report.GitMetadata) error

WriteHTMLReport generates a static HTML report from the given issues and writes it to the provided path.

func WriteJSONReport

func WriteJSONReport(issues []report.Issue, path string, gitMeta *report.GitMetadata) error

WriteJSONReport serializes the provided issues into a pretty JSON format and writes them to a file.

func WriteMarkdownReport

func WriteMarkdownReport(issues []report.Issue, outPath string, gitMeta *report.GitMetadata) error

WriteMarkdownReport generates a markdown report from the given issues and writes it to the provided path.

func WriteSARIFReport

func WriteSARIFReport(issues []report.Issue, path string, gitMeta *report.GitMetadata) error

WriteSARIFReport converts the internal issues into SARIF format and writes to file.

Types

This section is empty.

Jump to

Keyboard shortcuts

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