csv

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2020 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ClearExplain

func ClearExplain(reader io.Reader) ([]byte, error)

func Marshal

func Marshal(in interface{}, withExplain bool, withBom bool) ([]byte, error)

func Unmarshal

func Unmarshal(in []byte, out interface{}) error

Types

type Date

type Date time.Time

func (*Date) MarshalCSV

func (date *Date) MarshalCSV() (string, error)

func (*Date) String

func (date *Date) String() string

func (*Date) UnmarshalCSV

func (date *Date) UnmarshalCSV(csv string) (err error)

type DateTime

type DateTime time.Time

func (*DateTime) MarshalCSV

func (date *DateTime) MarshalCSV() (string, error)

func (*DateTime) String

func (date *DateTime) String() string

func (*DateTime) UnmarshalCSV

func (date *DateTime) UnmarshalCSV(csv string) (err error)

Jump to

Keyboard shortcuts

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