report

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2024 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 CSVReport

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

CSVReport represents a CSV report.

func NewCSVReport

func NewCSVReport(filePath string) *CSVReport

NewCSVReport creates a new CSVReport.

func (*CSVReport) SaveBulk

func (r *CSVReport) SaveBulk(records []parser.PageData) error

SaveBulk saves multiple records to the file.

type JSONReport

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

JSONReport represents a JSON report.

func NewJSONReport

func NewJSONReport(filePath string) *JSONReport

NewJSONReport creates a new JSONReport.

func (*JSONReport) SaveBulk

func (r *JSONReport) SaveBulk(records []parser.PageData) error

SaveBulk saves multiple records to the file.

Jump to

Keyboard shortcuts

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