Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Builder ¶
type Builder interface { ReadAllSupplierDirs(dir string) *[]SupplierDir ReadSourceFile(file string, clean bool) [][]string SaveCartFile(file CartCsvFile) bool }
Builder FileBuilder
type CartCsvFile ¶
CartCsvFile CartCsvFile
type CsvFileBuilder ¶
type CsvFileBuilder struct {
OutputDir string
}
CsvFileBuilder CsvFileBuilder
func (*CsvFileBuilder) ReadAllSupplierDirs ¶
func (b *CsvFileBuilder) ReadAllSupplierDirs(dir string) *[]SupplierDir
ReadAllSupplierDirs ReadAllSupplierDirs
func (*CsvFileBuilder) ReadSourceFile ¶
func (b *CsvFileBuilder) ReadSourceFile(file string, clean bool) [][]string
ReadSourceFile ReadSourceFile
func (*CsvFileBuilder) SaveCartFile ¶
func (b *CsvFileBuilder) SaveCartFile(file CartCsvFile) bool
SaveCartFile SaveCartFile
type SupplierDir ¶
type SupplierDir struct { Name string Files []SupplierFile }
SupplierDir SupplierDir
type SupplierFile ¶
SupplierFile SupplierFile
Click to show internal directories.
Click to hide internal directories.