output

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2025 License: Unlicense Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CSVWriter

type CSVWriter struct {
	// contains filtered or unexported fields
}

Handles exporting PR metrics data to CSV format files

func NewCSVWriter

func NewCSVWriter(logger *utils.Logger) *CSVWriter

Initializes CSV writer with logger dependency

func (*CSVWriter) WriteCSV

func (w *CSVWriter) WriteCSV(filename string, prMetrics []*api.PRMetrics) error

Legacy method for exporting only PR metrics to a single CSV file

func (*CSVWriter) WriteToDirectory

func (w *CSVWriter) WriteToDirectory(dirPath string, prMetrics []*api.PRMetrics, weeklyMetrics, monthlyMetrics []*api.AggregatedMetrics) error

Exports PR, weekly, and monthly metrics to separate CSV files in target directory

Jump to

Keyboard shortcuts

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