csvx

package
v1.1.9 Latest Latest
Warning

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

Go to latest
Published: Jul 4, 2023 License: Apache-2.0 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
}

func NewCSV

func NewCSV(path string, rowSeparator rune, lineSeparator string) (*CSV, error)

NewCSV return a CSV

func (*CSV) Append

func (this *CSV) Append(str []string) error

Append append one line

func (*CSV) Close

func (this *CSV) Close() error

Close close file

func (*CSV) ReadLine

func (this *CSV) ReadLine() ([]string, error)

ReadLine read one line

func (*CSV) Reset

func (this *CSV) Reset() (int64, error)

Reset

func (*CSV) Truncate

func (this *CSV) Truncate() error

Truncate

func (*CSV) Write

func (this *CSV) Write(str []string) error

Write truncate and write one line

Jump to

Keyboard shortcuts

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