export

package
v0.0.0-...-5d05f88 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2025 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Exporter

type Exporter struct{}

Exporter handles exporting benchmark comparisons to various formats

func NewExporter

func NewExporter() *Exporter

NewExporter creates a new exporter

func (*Exporter) ToCSV

func (e *Exporter) ToCSV(comparisons []models.Comparison, filename string) error

ToCSV exports comparisons to CSV format

func (*Exporter) ToHTML

func (e *Exporter) ToHTML(comparisons []models.Comparison, oldID, newID, oldTimestamp, newTimestamp string, filename string) error

ToHTML exports comparisons to HTML format

func (*Exporter) ToMarkdown

func (e *Exporter) ToMarkdown(comparisons []models.Comparison, oldID, newID string, filename string) error

ToMarkdown exports comparisons to Markdown format

Jump to

Keyboard shortcuts

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