csv

package
v0.0.0-...-895cc19 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Output

func Output(filename string, data interface{}) error

Output write csv

func Parse

func Parse(path string, out interface{})

Parse parse csv

Types

type Duration

type Duration struct {
	time.Duration
}

Duration for customize marshal

func (*Duration) UnmarshalCSV

func (d *Duration) UnmarshalCSV(s string) (err error)

UnmarshalCSV convert the CSV string as internal duration

Jump to

Keyboard shortcuts

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