processor

package
v0.0.0-...-97877dc Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2020 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Processor

type Processor interface {
	Run(csvFile Reader, outputDir string) error
}

func New

func New(stores []Store) Processor

type Reader

type Reader interface {
	Read() (record []string, err error)
	GetEndDate() time.Time
	GetStartDate() time.Time
}

func NewReader

func NewReader(r io.Reader, endDate time.Time) Reader

type Store

type Store interface {
	Save([]string)
	Flush() io.Reader
}

func NewStores

func NewStores() []Store

Jump to

Keyboard shortcuts

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