csv

package
v0.4.4 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DataTransformer

type DataTransformer func(data *transformingData, spec config.ExportSpecTransform) (*transformingData, error)

func OnlyColumnsDataTransformer

func OnlyColumnsDataTransformer() DataTransformer

func RenameColumnsDataTransformer

func RenameColumnsDataTransformer() DataTransformer

func SkipColumnsDataTransformer

func SkipColumnsDataTransformer() DataTransformer

type Exporter

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

func NewExporter

func NewExporter(
	dataLoader *data.Loader,
	pager *common.Pager,
	dataTransformers []DataTransformer,
) *Exporter

func (*Exporter) Export

func (c *Exporter) Export(ctx context.Context, params *exporter.ExportParams) ([]*exporter.ExportedPage, error)

func (*Exporter) ExportPerFile

func (c *Exporter) ExportPerFile(ctx context.Context, params *exporter.ExportParams) ([]*exporter.ExportedPage, error)

Jump to

Keyboard shortcuts

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