csvs

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2025 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CSV

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

for now only supports list of enr so far

func NewCsvExporter

func NewCsvExporter(file string, columns []string) (*CSV, error)

func NewCsvImporter

func NewCsvImporter(file string) (*CSV, error)

func (*CSV) Close

func (c *CSV) Close() error

func (*CSV) Export

func (c *CSV) Export(rows [][]interface{}, rowComposer RowComposer) error

func (*CSV) ReadENRset

func (c *CSV) ReadENRset() (*models.EnodeSet, error)

type RowComposer

type RowComposer func([]interface{}) []string

Jump to

Keyboard shortcuts

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