csv

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2018 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DownloadCSVIfChanged added in v0.0.2

func DownloadCSVIfChanged(csvURL, csvMetaURL, filePath string) (bool, error)

func IsExist added in v0.0.2

func IsExist(filename string) bool

Types

type CircleCSV

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

func NewCircleCSV

func NewCircleCSV(filePath string) (*CircleCSV, error)

func (*CircleCSV) AppendCircleDetail

func (c *CircleCSV) AppendCircleDetail(circleDetail *tbf.CircleDetail) error

func (*CircleCSV) AppendLine

func (c *CircleCSV) AppendLine(line []string) error

func (*CircleCSV) ToCircleDetailMap

func (c *CircleCSV) ToCircleDetailMap() (m map[string]*tbf.CircleDetail, err error)

type Meta added in v0.0.2

type Meta struct {
	Checksum uint32 `json:"checksum"`
}

Jump to

Keyboard shortcuts

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