writer

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DictWriter

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

func NewDictWriter

func NewDictWriter(filename string) (*DictWriter, error)

func (*DictWriter) Close

func (d *DictWriter) Close() error

func (*DictWriter) Head

func (d *DictWriter) Head() []string

func (*DictWriter) Scope

func (d *DictWriter) Scope() int

func (*DictWriter) WriteDictLine

func (d *DictWriter) WriteDictLine(line map[string]string) error

func (*DictWriter) WriteDictLines

func (d *DictWriter) WriteDictLines(lines []map[string]string) error

func (*DictWriter) WriteHead

func (d *DictWriter) WriteHead(head []string) error

func (*DictWriter) WriteLine

func (d *DictWriter) WriteLine(line interface{}) error

func (*DictWriter) WriteLines

func (d *DictWriter) WriteLines(lines []interface{}) error

type Writer

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

func NewWriter

func NewWriter(filename string) (*Writer, error)

func (*Writer) Close

func (w *Writer) Close() error

func (*Writer) Head

func (w *Writer) Head() []string

func (*Writer) Scope

func (w *Writer) Scope() int

func (*Writer) WriteHead

func (w *Writer) WriteHead(head []string) error

func (*Writer) WriteLine

func (w *Writer) WriteLine(line []string) error

func (*Writer) WriteLines

func (w *Writer) WriteLines(lines [][]string) error

Jump to

Keyboard shortcuts

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