csvencoder

package
v1.2.4 Latest Latest
Warning

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

Go to latest
Published: Jan 5, 2025 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CSVEncoder

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

func NewCSVEncoder

func NewCSVEncoder() *CSVEncoder

func (*CSVEncoder) Encode

func (e *CSVEncoder) Encode(w io.Writer, data []map[string]interface{}) error

func (*CSVEncoder) EncodeToString

func (e *CSVEncoder) EncodeToString(data []map[string]interface{}) (string, error)

func (*CSVEncoder) SetSeparator

func (e *CSVEncoder) SetSeparator(sep rune)

Jump to

Keyboard shortcuts

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