csv

package
v1.1.4 Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2022 License: AGPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type WriteCSVStr

type WriteCSVStr string

WriteCSVStr provides explicit typing for write csv statements

const (
	CSVWriteIPLDsStr WriteCSVStr = "%s, \\x%x\n"

	CSVWriteEthUnclesStr WriteCSVStr = "%s, %s, %s, %s, %s, %s\n"

	CSVWriteEthTransactionsStr WriteCSVStr = "%s, %s, %s, %s, %s, %d, %s, \\x%x, %d, %s\n"

	CSVWriteEthStorageStr WriteCSVStr = "%s, \\x%x, %s, %s, \\x%x, %d, %t, %s\n"

	CSVWriteEthStateStr WriteCSVStr = "%s, %s, %s, \\x%x, %d, %t, %s\n"

	CSVWriteNodesStr WriteCSVStr = "%s, %s, %s, %s, %d\n"

	CSVWriteEthReceiptsStr WriteCSVStr = "%s, %s, %s, %s, %s, %s, %d, %s\n"

	CSVWriteEthLogsStr WriteCSVStr = "%s, %s, %s, %s, %d, %s, %s, %s, %s, \\x%x\n"

	CSVWriteEthHeadersStr WriteCSVStr = "%s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, \\x%x, %d, %s, %d, %s\n"

	CSVWriteEthAccountsStr WriteCSVStr = "%s, \\x%x, %s, %d, \\x%x, '%s\n"

	CSVWriteAccessListElementsStr WriteCSVStr = "%s, %d, %s, %s\n"
)

type Writer

type Writer interface {
	Write(pgStr WriteCSVStr, models interface{}) error
	io.Closer
}

Writer interface for writing v3 models to csv files

Jump to

Keyboard shortcuts

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