imexporter

package
v0.0.0-...-15f103b Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Import

func Import(r io.Reader) (sls []*models.SourceLine)

Types

type CSVExporter

type CSVExporter struct{}

CSVExporter converts source line timing data to CSV format

func New

func New() *CSVExporter

New creates a new CSVExporter instance

func (*CSVExporter) Export

func (e *CSVExporter) Export(w io.Writer, lines []*models.SourceLine, unit string) error

Export writes the source line data to a CSV writer. unit specifies the time unit for output (e.g., "s", "ms", "us", "ns"). Empty string uses default format.

Jump to

Keyboard shortcuts

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